diff --git a/ZorkUML.jpg b/ZorkUML.jpg index 6194ec8..d0a7910 100644 Binary files a/ZorkUML.jpg and b/ZorkUML.jpg differ diff --git a/ZorkUML.ucls b/ZorkUML.ucls index 28f855c..c445545 100644 --- a/ZorkUML.ucls +++ b/ZorkUML.ucls @@ -110,96 +110,101 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - + - - + + + + + + + + + + + + + + + + + + + + + - + - - - + + + + + + + diff --git a/src/com/bayviewglen/zork/Game.java b/src/com/bayviewglen/zork/Game.java index fbb90cb..54da8f8 100644 --- a/src/com/bayviewglen/zork/Game.java +++ b/src/com/bayviewglen/zork/Game.java @@ -216,13 +216,16 @@ class Game { if (printWelcome()) { // Enter the main command loop. Here we repeatedly read commands and // execute them until the game is over. - System.out.println( - "\nType 'help' if you need help, consult the wiki \non GitHub if you are confused and enjoy the game!\n"); + System.out.println("\nType 'help' if you need help, consult the wiki \non GitHub if you are confused and enjoy the game!\n"); System.out.println("\n\nEscape Casa Loma"); System.out.println("---------------------\n"); System.out.print(currentRoom.longDescription()); System.out.println(currentRoom.itemString()); System.out.println(currentRoom.exitString()); + player.addToInventory(new Lockpick()); + player.addToInventory(new Key()); + player.addToInventory(new Crowbar()); + player.addToInventory(new Batteringram()); boolean finished = false; while (!finished) { if (currentCombat != null) {