Two more items and their classes added.
This commit is contained in:
@@ -23,4 +23,6 @@ key, item
|
||||
crowbar, item
|
||||
base, item
|
||||
cylinder, item
|
||||
point, item
|
||||
point, item
|
||||
garlic, item
|
||||
robes, item
|
||||
8
src/com/bayviewglen/zork/Items/Garlic.java
Normal file
8
src/com/bayviewglen/zork/Items/Garlic.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package com.bayviewglen.zork.Items;
|
||||
public class Garlic extends Item{
|
||||
|
||||
public Garlic() {
|
||||
super(8, "Garlic", "An uncut piece of garlic with a strong aura", true, 20, 1);
|
||||
}
|
||||
|
||||
}
|
||||
8
src/com/bayviewglen/zork/Items/Robes.java
Normal file
8
src/com/bayviewglen/zork/Items/Robes.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package com.bayviewglen.zork.Items;
|
||||
public class Robes extends Item{
|
||||
|
||||
public Robes(){
|
||||
super(9, "Robes", "Worn out robes that belonged to Henry Pelatt", false, 50, 1);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user