diff --git a/data/rooms.dat b/data/rooms.dat index f0e9b95..250b36b 100644 --- a/data/rooms.dat +++ b/data/rooms.dat @@ -304,15 +304,6 @@ Items: Riddler: Exit Rooms: N-Smoking Room -Room name: Entry -Room Description: CONGRATULATIONS!!! You have escaped alive! I guess Sir Pellatt will have to find another victim tomorrow. -New Room Description: -Locked: true -Boarded: true -Items: -Riddler: -Exit Rooms: E-Smoking Room, N-Great Hall, W-Study - Room name: Study Room Description: You are now in the Study. The south wall has a floor-to-ceiling book shelf, towering over you. A big wooden desk,
along with a cushioned chair, face the entrance. 2 lit candles illuminate the desk, and a key is visible. New Room Description: @@ -320,4 +311,22 @@ Locked: false Boarded: false Items: Key Riddler: -Exit Rooms: N-Library, E-Entry, W-Breakfast Room \ No newline at end of file +Exit Rooms: N-Library, E-Entry, W-Breakfast Room + +Room name: Entry +Room Description: CONGRATULATIONS!!! You have escaped alive! I guess Sir Pellatt will have to find another victim tomorrow.
Go south to make your escape!!! +New Room Description: +Locked: true +Boarded: true +Items: +Riddler: +Exit Rooms: E-Smoking Room, N-Great Hall, W-Study, S-Courtyard + +Room name: Courtyard +Room Description:
CREDITS:

Johnathon - Lead Programmer
Luca - Assistant Programmer
Victoria - Rooms and Descriptions
Evan - Wiki

Thank you for playing our game!

Enter "quit" or "q" to leave the game,
or continue exploring the castle
by entering "N", if you would like!
+New Room Description: +Locked: false +Boarded: false +Items: +Riddler: +Exit Rooms: N-Entry \ No newline at end of file diff --git a/src/com/bayviewglen/zork/Game.java b/src/com/bayviewglen/zork/Game.java index aa6c506..77c4553 100644 --- a/src/com/bayviewglen/zork/Game.java +++ b/src/com/bayviewglen/zork/Game.java @@ -225,6 +225,12 @@ class Game { 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 Key()); + player.addToInventory(new Crowbar()); + player.addToInventory(new Batteringram()); + boolean finished = false; while (!finished) { if (currentCombat != null) {