All items and some item classes added

This commit is contained in:
elacey
2019-05-22 22:46:57 -04:00
parent 59f51231c8
commit cfe2f0253d
5 changed files with 46 additions and 1 deletions

View File

@@ -32,4 +32,18 @@ book, item
socks, item
painting, item
inventory, verb
i, verb
i, verb
notebook, item
shaving cream, item
toothbrush, item
toothpaste, item
milk, item
cheese, item
yogurt, item
chips, item
granola bars, item
chocolate, item
warm bread, item
clothes, item
sword, item
blanket, item

View File

@@ -0,0 +1,8 @@
package com.bayviewglen.zork.Items;
public class Notebook extends Item{
public Notebook(){
super(15, "Notebook", "A book filled with diagrams and descriptions, belonging to Henry Pellatt", false, 50, 1);
}
}

View File

@@ -0,0 +1,8 @@
package com.bayviewglen.zork.Items;
public class ShavingCream extends Item{
public ShavingCream(){
super(16, "Shaving Cream", "A can of shaving cream with foam still around the edge of the nozzle", false, 10, 1);
}
}

View File

@@ -0,0 +1,7 @@
package com.bayviewglen.zork.Items;
public class Toothbrush extends Item{
public Toothbrush(){
super(17, "Toothbrush", "A light blue manual toothbrush stained with missing bristles after continual use", false, 5, 1);
}
}

View File

@@ -0,0 +1,8 @@
package com.bayviewglen.zork.Items;
public class Toothpaste extends Item{
public Toothpaste(){
super(18, "Toothpaste", "A half used tube of toothpaste crumpled up with little care", false, 10, 1);
}
}