Merge remote-tracking branch 'origin/master'

This commit is contained in:
Luca Carnegie
2019-05-16 13:14:18 -04:00
5 changed files with 29 additions and 2 deletions

View File

@@ -25,4 +25,7 @@ base, item
cylinder, item
point, item
garlic, item
robes, item
robes, item
water bottle, item
pen, item
book, item

View File

@@ -0,0 +1,8 @@
package com.bayviewglen.zork.Items;
public class Book extends Item{
public Book(){
super(12, "Book", "A dust covered book with water stains around the edges", false, 50, 1);
}
}

View File

@@ -2,7 +2,7 @@ package com.bayviewglen.zork.Items;
public class Candlestick extends Item{
public Candlestick(){
super(1, "Candlestick", "A slender stick of wax with a small wick of cotton sticking out of the top", true, 100, 1);
super(1, "Candlestick", "A slender stick of wax with a small wick of cotton sticking out of the top", false, 100, 1);
}

View File

@@ -0,0 +1,8 @@
package com.bayviewglen.zork.Items;
public class Pen extends Item{
public Pen(){
super(11, "Pen", "An old-fashioned feathered pen with ink dried on the tip", false, 10, 1);
}
}

View File

@@ -0,0 +1,8 @@
package com.bayviewglen.zork.Items;
public class WaterBottle extends Item{
public WaterBottle() {
super(10, "Water Bottle", "A plastic water bottle half filled with filthy water", true, 10, 1);
}
}