added lady pellatt

This commit is contained in:
jslightham
2019-05-31 19:46:51 -04:00
parent cfc9741f19
commit 67839c569e
5 changed files with 12 additions and 6 deletions

View File

@@ -2,4 +2,9 @@ Enemy Name: Henry Pellatt
Description: The owner of the Castle Description: The owner of the Castle
Starting Room: Circle Room Starting Room: Circle Room
Damage Given: 25 Damage Given: 25
Loot: Crowbar
Enemy Name: Lady Pellatt
Description: The wife to the owner of the Castle
Starting Room: Lady Pellatt's Bedroom
Damage Given: 25
Loot: Crowbar Loot: Crowbar

View File

@@ -2,7 +2,7 @@ Room name: Circle Room
Room Description: You are in a circular room. The windows to the east are covered with boards that<br>let in just enough light to see. You spot a man in a tailored suit moving some crates around. Room Description: You are in a circular room. The windows to the east are covered with boards that<br>let in just enough light to see. You spot a man in a tailored suit moving some crates around.
Locked: false Locked: false
Boarded: false Boarded: false
Items: Lightbulb,Candlestick,Sword 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 goes moo?", "Cows", 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 goes moo?", "Cows", Lockpick
Exit Rooms: W-Apple Hallway Exit Rooms: W-Apple Hallway
@@ -146,7 +146,7 @@ Room name: Evergreen Bedroom
Room Description: Oh look! Another bedroom! How exciting! This one's walls are even green this time.<br>Cool! Room Description: Oh look! Another bedroom! How exciting! This one's walls are even green this time.<br>Cool!
Locked: false Locked: false
Boarded: false Boarded: false
Items: Items:Sword
Riddler: Riddler:
Exit Rooms: N-Silver Stairs (2nd Floor), W-Aspen Bedroom Exit Rooms: N-Silver Stairs (2nd Floor), W-Aspen Bedroom

View File

@@ -45,7 +45,7 @@ absorb, eat
drink, eat drink, eat
i, inventory i, inventory
henry, henrypellatt henry, henrypellatt
pellatt, henrypellatt lady, ladypellatt
shaving, shavingcream shaving, shavingcream
cream, shavingcream cream, shavingcream
water, waterbottle water, waterbottle

View File

@@ -64,4 +64,5 @@ clock, item
keyboard, item keyboard, item
lightbulb, item lightbulb, item
craft, verb craft, verb
batteringram, item batteringram, item
ladypellatt, enemy

View File

@@ -304,7 +304,7 @@ class Game {
}else if(!command.hasDirection()){ }else if(!command.hasDirection()){
System.out.println("In what direction do you want to go in?"); System.out.println("In what direction do you want to go in?");
}else { }else {
System.out.println("What do you want to open the door with?"); System.out.println("What do you want to unlock the door with?");
} }
boolean hasCrowbar = false; boolean hasCrowbar = false;
for(int i =0; i<player.getInventory().size(); i++) { for(int i =0; i<player.getInventory().size(); i++) {
@@ -329,7 +329,7 @@ class Game {
}else if(!command.hasDirection()){ }else if(!command.hasDirection()){
}else { }else {
System.out.println("What do you want to unboard the door with?");
} }
break; break;
case "go": case "n": case "s": case "e": case "w": case "north": case "south": case "west": case "east": case "up": case "down": case "d": case "u": case "go": case "n": case "s": case "e": case "w": case "north": case "south": case "west": case "east": case "up": case "down": case "d": case "u":