diff --git a/index.t b/index.t index f273e61..c804383 100644 --- a/index.t +++ b/index.t @@ -29,7 +29,9 @@ gameMain: GameMainDef #include "locations/startingRoom.t" #include "locations/secondRoom.t" +#include "locations/thirdRoom.t" #include "items/note.t" #include "items/fruitBox.t" #include "items/table.t" +#include "items/oldDoor.t" diff --git a/items/oldDoor.t b/items/oldDoor.t new file mode 100644 index 0000000..f7c2705 --- /dev/null +++ b/items/oldDoor.t @@ -0,0 +1,11 @@ +oldDoorOutside: LockableWithKey, Door, RoomPartItem + -> oldDoor + 'old wooden door*doors' + 'old door' + "An old wooden door worn by time. " + isListed = true + keyList = [ goldKey ] + knownKeyList = [ goldKey ] + location = secondRoom + specialNominalRoomPartLocation = defaultSouthWall +; diff --git a/locations/secondRoom.t b/locations/secondRoom.t index ff097be..1813882 100644 --- a/locations/secondRoom.t +++ b/locations/secondRoom.t @@ -2,6 +2,7 @@ secondRoom: Room 'Second Room' "This is another boring room with a few balloons and a painting on the wall. " roomParts = (inherited() - [defaultEastWall] + [secondRoomEastWall]) north = startingRoom + south = oldDoorOutside ; + Decoration diff --git a/locations/thirdRoom.t b/locations/thirdRoom.t new file mode 100644 index 0000000..418ef52 --- /dev/null +++ b/locations/thirdRoom.t @@ -0,0 +1,13 @@ +thirdRoom: Room 'Third Room' + "This is just another boring room." + north = oldDoor +; + ++ oldDoor: LockableWithKey, Door, RoomPartItem + 'old wooden door*doors' + 'old door' + "An old wooden door worn by time. " + keyList = [ goldKey ] + knownKeyList = [ goldKey ] + specialNominalRoomPartLocation = defaultNorthWall +;