final
This commit is contained in:
@@ -11,5 +11,5 @@ Loot: Crowbar
|
|||||||
Enemy Name: DesLauriers The Dog
|
Enemy Name: DesLauriers The Dog
|
||||||
Description: The cookie monster
|
Description: The cookie monster
|
||||||
Starting Room: Kitchen
|
Starting Room: Kitchen
|
||||||
Damage Given: 40
|
Damage Given: 30
|
||||||
Loot: Base
|
Loot: Base
|
||||||
@@ -4,7 +4,7 @@ New Room Description: You are in a circular room. The windows to the east are c
|
|||||||
Locked: false
|
Locked: false
|
||||||
Boarded: false
|
Boarded: false
|
||||||
Items: Lightbulb, Candlestick
|
Items: Lightbulb, Candlestick
|
||||||
Riddler: "Hello there. My name is Kevin and I am Sir Pellatt's butler. I understand that my master<comma><br>Sir Pellatt has wrongfully imprisoned you. If you answer my riddle<comma> I can give you something to<br>help you with your escape - nothing comes for free you know!", "What has a head<comma> a tail<comma> is brown<comma> and has no legs?", "A penny", Lockpick
|
Riddler: "Hello there. My name is Kevin and I am Sir Pellatt's butler. I understand that my master<comma><br>Sir Pellatt has wrongfully imprisoned you. If you answer my riddle<comma> I can give you something to<br>help you with your escape - nothing comes for free you know!", "What has a head<comma> a tail<comma> is brown<comma> and has no legs?", "penny", Lockpick
|
||||||
Exit Rooms: W-Apple Hallway
|
Exit Rooms: W-Apple Hallway
|
||||||
|
|
||||||
Room name: Apple Hallway
|
Room name: Apple Hallway
|
||||||
@@ -48,7 +48,7 @@ Room Description: You are now in Lady Pellatt's Bedroom. A four-poster bed with
|
|||||||
New Room Description:
|
New Room Description:
|
||||||
Locked: false
|
Locked: false
|
||||||
Boarded: false
|
Boarded: false
|
||||||
Items:Robes
|
Items: Robes
|
||||||
Riddler:
|
Riddler:
|
||||||
Exit Rooms: N-Sitting Area, S-Guest Bedroom, E-Bulb Room
|
Exit Rooms: N-Sitting Area, S-Guest Bedroom, E-Bulb Room
|
||||||
|
|
||||||
|
|||||||
@@ -456,7 +456,7 @@ class Game {
|
|||||||
System.out.println(message + "\n\nHere's my riddle: " + riddle);
|
System.out.println(message + "\n\nHere's my riddle: " + riddle);
|
||||||
System.out.print("Enter your guess here: ");
|
System.out.print("Enter your guess here: ");
|
||||||
String guess = rScanner.nextLine();
|
String guess = rScanner.nextLine();
|
||||||
if (guess.toLowerCase().equals(answer.toLowerCase())) {
|
if (guess.toLowerCase().indexOf(answer.toLowerCase()) >= 0) {
|
||||||
Item prize = currentRoom.getRiddler().getPrize();
|
Item prize = currentRoom.getRiddler().getPrize();
|
||||||
String prizeName = prize.getName();
|
String prizeName = prize.getName();
|
||||||
System.out.println("Congratulations! You solved my riddle! As your reward, you get a " + prizeName + "!");
|
System.out.println("Congratulations! You solved my riddle! As your reward, you get a " + prizeName + "!");
|
||||||
|
|||||||
Reference in New Issue
Block a user