diff --git a/data/words.dat b/data/words.dat index aeaf139..3bbe693 100644 --- a/data/words.dat +++ b/data/words.dat @@ -28,4 +28,6 @@ garlic, item robes, item water bottle, item pen, item -book, item \ No newline at end of file +book, item +socks, item +painting, item \ No newline at end of file diff --git a/src/com/bayviewglen/zork/Items/Painting.java b/src/com/bayviewglen/zork/Items/Painting.java new file mode 100644 index 0000000..8e00040 --- /dev/null +++ b/src/com/bayviewglen/zork/Items/Painting.java @@ -0,0 +1,7 @@ +package com.bayviewglen.zork.Items; +public class Painting extends Item{ + + public Painting(){ + super(14, "Painting", "An antique painting made from vibrant colours with an artists signature in the bottom right corner", false, 50, 1); + } +} \ No newline at end of file diff --git a/src/com/bayviewglen/zork/Items/Socks.java b/src/com/bayviewglen/zork/Items/Socks.java new file mode 100644 index 0000000..a5195f1 --- /dev/null +++ b/src/com/bayviewglen/zork/Items/Socks.java @@ -0,0 +1,8 @@ +package com.bayviewglen.zork.Items; +public class Socks extends Item{ + + public Socks(){ + super(13, "Socks", "Old socks with a lot of wear and tear, worn by Henry Pellatt", false, 5, 1); + } + +}