Fixed title screen & help screen
This commit is contained in:
@@ -144,9 +144,9 @@ Locked: false
|
|||||||
Items:Scroll 3
|
Items:Scroll 3
|
||||||
Exit Rooms: E-Dining Room
|
Exit Rooms: E-Dining Room
|
||||||
Room name: Library
|
Room name: Library
|
||||||
Room Description: You are in the Library. Intricate designs are carved into the tall arced ceiling. Thousands and thousands of books stretch from the floor to the ceiling. A few blue couches with a lantern on a small side table sit in the far northwest corner of the room. An open book with a dusty leather cover rests on the table.
|
Room Description: You are in the Library. Intricate designs are carved into the tall arced ceiling. Thousands and thousands of books stretch from the floor to the ceiling. A few blue couches with a lantern on a small side table sit in the far northwest corner of the room. An open novel with a dusty leather cover rests on the table.
|
||||||
Locked: false
|
Locked: false
|
||||||
Items:Book
|
Items:Novel
|
||||||
Exit Rooms: W-Dining Room, S-Study, E-Great Hall
|
Exit Rooms: W-Dining Room, S-Study, E-Great Hall
|
||||||
Room name: Great Hall
|
Room name: Great Hall
|
||||||
Room Description: You are in the Great Hall. This empty room gives off an eerie feeling. On the north wall, there is a fire place that looks like it is about to burn out. I don't think someone is going to light it again.
|
Room Description: You are in the Great Hall. This empty room gives off an eerie feeling. On the north wall, there is a fire place that looks like it is about to burn out. I don't think someone is going to light it again.
|
||||||
|
|||||||
@@ -46,4 +46,12 @@ warm bread, item
|
|||||||
clothes, item
|
clothes, item
|
||||||
sword, item
|
sword, item
|
||||||
blanket, item
|
blanket, item
|
||||||
|
<<<<<<< HEAD
|
||||||
die, verb
|
die, verb
|
||||||
|
=======
|
||||||
|
butter, item
|
||||||
|
novel, item
|
||||||
|
mop, item
|
||||||
|
bucket, item
|
||||||
|
towels, item
|
||||||
|
>>>>>>> branch 'master' of https://github.com/jslightham/Zork
|
||||||
|
|||||||
8
src/com/bayviewglen/zork/Items/Blanket.java
Normal file
8
src/com/bayviewglen/zork/Items/Blanket.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Blanket extends Item{
|
||||||
|
|
||||||
|
public Blanket(){
|
||||||
|
super(27, "Blanket", "A cotton blanket which is nicely folded", false, 50, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Bucket.java
Normal file
8
src/com/bayviewglen/zork/Items/Bucket.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Bucket extends Item{
|
||||||
|
|
||||||
|
public Bucket(){
|
||||||
|
super(31, "Bucket", "A bucket filled with soapy water with rust on the bottom after constant use", false, 20, 20);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Butter.java
Normal file
8
src/com/bayviewglen/zork/Items/Butter.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Butter extends Item{
|
||||||
|
|
||||||
|
public Butter(){
|
||||||
|
super(29, "Butter", "I can't believe it's not butter!", true, 20, 10);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Cheese.java
Normal file
8
src/com/bayviewglen/zork/Items/Cheese.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Cheese extends Item{
|
||||||
|
|
||||||
|
public Cheese(){
|
||||||
|
super(20, "Cheese", "A block of swiss cheese which has started to mold after being left out", true, 20, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
9
src/com/bayviewglen/zork/Items/Chips.java
Normal file
9
src/com/bayviewglen/zork/Items/Chips.java
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
|
||||||
|
public class Chips extends Item{
|
||||||
|
|
||||||
|
public Chips(){
|
||||||
|
super(22, "Chips", "A sealed bag of jalapeno falovured chips on the counter beside the milk", true, 20, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Chocolate.java
Normal file
8
src/com/bayviewglen/zork/Items/Chocolate.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Chocolate extends Item{
|
||||||
|
|
||||||
|
public Chocolate(){
|
||||||
|
super(24, "Chocolate", "A piece of dark chocolate on a napkin by the milk and the chips", true, 10, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Clothes.java
Normal file
8
src/com/bayviewglen/zork/Items/Clothes.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Clothes extends Item{
|
||||||
|
|
||||||
|
public Clothes(){
|
||||||
|
super(26, "Clothes", "Clothes belonging to Mr. and Mrs. Pellatt lay scattered on the floor", false, 50, 20);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/GranolaBars.java
Normal file
8
src/com/bayviewglen/zork/Items/GranolaBars.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class GranolaBars extends Item{
|
||||||
|
|
||||||
|
public GranolaBars(){
|
||||||
|
super(23, "Granola Bars", "A pack of 6 granola bars ripped open with little to no care", true, 20, 6);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -7,6 +7,7 @@ public class Item {
|
|||||||
private boolean isConsumable;
|
private boolean isConsumable;
|
||||||
private int health;
|
private int health;
|
||||||
private int weight;
|
private int weight;
|
||||||
|
private int damage;
|
||||||
|
|
||||||
public Item(int id, String name, String description, boolean isConsumable, int health, int weight) {
|
public Item(int id, String name, String description, boolean isConsumable, int health, int weight) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
@@ -17,6 +18,14 @@ public class Item {
|
|||||||
this.weight = weight;
|
this.weight = weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Item(int id, String name, String description, int weight, int damage) {
|
||||||
|
this.id = id;
|
||||||
|
this.name = name;
|
||||||
|
this.description = description;
|
||||||
|
this.weight = weight;
|
||||||
|
this.damage = damage;
|
||||||
|
}
|
||||||
|
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
|
|||||||
8
src/com/bayviewglen/zork/Items/Milk.java
Normal file
8
src/com/bayviewglen/zork/Items/Milk.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Milk extends Item{
|
||||||
|
|
||||||
|
public Milk(){
|
||||||
|
super(19, "Milk", "A opened carton of skimmed milk two days away from expiring", true, 20, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Mop.java
Normal file
8
src/com/bayviewglen/zork/Items/Mop.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Mop extends Item{
|
||||||
|
|
||||||
|
public Mop(){
|
||||||
|
super(30, "Mop", "A mop which was used recently by a maid and is still damp", false, 50, 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Novel.java
Normal file
8
src/com/bayviewglen/zork/Items/Novel.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Novel extends Item{
|
||||||
|
|
||||||
|
public Novel(){
|
||||||
|
super(28, "Novel", "An auto-biography about Kevin DesLauriers", false, 50, 10);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Sword.java
Normal file
8
src/com/bayviewglen/zork/Items/Sword.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Sword extends Item{
|
||||||
|
|
||||||
|
public Sword(){
|
||||||
|
super(33, "Sword", "A steel, double-edged sword which seems to have been sharpened recently", 20, 50);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Towels.java
Normal file
8
src/com/bayviewglen/zork/Items/Towels.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Towels extends Item{
|
||||||
|
|
||||||
|
public Towels(){
|
||||||
|
super(32, "Towels", "A few towels used to dry the floors after they are mopped", false, 50, 20);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/WarmBread.java
Normal file
8
src/com/bayviewglen/zork/Items/WarmBread.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class WarmBread extends Item{
|
||||||
|
|
||||||
|
public WarmBread(){
|
||||||
|
super(25, "Warm Bread", "A fresh loaf of bread sits just outside of the oven still warm to the touch", true, 30, 10);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
8
src/com/bayviewglen/zork/Items/Yogurt.java
Normal file
8
src/com/bayviewglen/zork/Items/Yogurt.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package com.bayviewglen.zork.Items;
|
||||||
|
public class Yogurt extends Item{
|
||||||
|
|
||||||
|
public Yogurt(){
|
||||||
|
super(21, "Yogurt", "A tub of vanilla greek yogurt with a spoon still inside", true, 20, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user