Made warmbread class

This commit is contained in:
Luca Carnegie
2019-05-31 20:59:14 -04:00
parent 8cac7a4315
commit 671f6eacb0
3 changed files with 22 additions and 15 deletions

View File

@@ -74,7 +74,7 @@ Room name: Elm Bedroom
Room Description: You are in the Elm Bedroom. The walls are all wooden and a few windows face north.<br>A bed sits in the middle of the room. A few pillows are on the ground. It looks like someone was in here...
Locked: false
Boarded: false
Items:Water bottle,Pen,Book
Items: Pen, Book
Riddler:
Exit Rooms: S-Round Room, W-East Sitting Room
@@ -114,7 +114,7 @@ Room name: Sir Henry Mill Pellatt's Bathroom
Room Description: You are now in Sir Henry Mill Pellatt's Bathroom. The floor mat is still quite wet.<br>Perhaps someone just took a shower. A half-empty shaving cream bottle lies on the counter, along with a toothbrush and some toothpaste.
Locked: false
Boarded: false
Items:Shaving Cream,Toothbrush,Toothpaste
Items: Shavingcream, Toothbrush, Toothpaste
Riddler:
Exit Rooms: N-Sir Henry Mill Pellatt's Bedroom
@@ -171,7 +171,7 @@ Room Description: Welcome to the guest bedroom, where guests like yourself stay
Locked: false
Boarded: false
Items:
Riddler: "Hello there<comma> Kevin again with another riddle for you to solve. What are the next 3 letters in this sequence: o<comma>t<comma>t<comma>f<comma>f<comma>s<comma>s?", "e<comma>n<comma>t"
Riddler: "Hello there<comma> Kevin again with another riddle for you to solve.", "What are the next 3 letters in this sequence: o<comma>t<comma>t<comma>f<comma>f<comma>s<comma>s?", "e<comma>n<comma>t", Yogurt
Exit Rooms: E-Linen Closet, S-Another Sitting Area, N-Lady Pellatt's Bedroom
Room name: Silver Stairs (1st Floor)
@@ -194,7 +194,7 @@ Room name: Kitchen
Room Description: You are in the Kitchen. The stove, toaster, and microwave along the walls are all turned off.<br>A few pots are soaking in the sink. Warm bread rests in the oven and the sweet<br>smell of yeast fills the room.
Locked: false
Boarded: false
Items:Warm Bread
Items: Warmbread
Riddler:
Exit Rooms: E-Food Supply Closet, N-Supply Closet

View File

@@ -17,6 +17,7 @@ leave, quit
move, go
scram, go
hightail, go
l, look
glance, look
glimpse, look
peek, look
@@ -47,11 +48,8 @@ drink, eat
i, inventory
henry, henrypellatt
lady, ladypellatt
shaving, shavingcream
cream, shavingcream
water, waterbottle
bottle, waterbottle
warm, warmbread
bread, warmbread
battering, batteringram
ram, batteringram

View File

@@ -0,0 +1,9 @@
package com.bayviewglen.zork.Items;
public class Warmbread extends Item{
public Warmbread() {
super(45, "Warm Bread", "A freshly baked bun, with a crackly golden crust", true, 25, 1);
}
}