diff --git a/index.t b/index.t index c804383..294e336 100644 --- a/index.t +++ b/index.t @@ -35,3 +35,4 @@ gameMain: GameMainDef #include "items/fruitBox.t" #include "items/table.t" #include "items/oldDoor.t" +#include "items/brokenDoor.t" diff --git a/items/brokenDoor.t b/items/brokenDoor.t new file mode 100644 index 0000000..c43ba56 --- /dev/null +++ b/items/brokenDoor.t @@ -0,0 +1,11 @@ +brokenDoor: Door, RoomPartItem + -> oldDoor + 'broken door*doors' + 'broken door' + "A strange door with a large sign that says Use with caution. " + isListed = true + location = startingRoom + specialNominalRoomPartLocation = defaultEastWall +; + ++ Decoration 'sign' 'sign' "Use with caution"; diff --git a/locations/startingRoom.t b/locations/startingRoom.t index 16f8e97..96350e7 100644 --- a/locations/startingRoom.t +++ b/locations/startingRoom.t @@ -1,4 +1,5 @@ startingRoom: Room 'Starting Room' "This is the boring starting room." - south = secondRoom; + south = secondRoom + east = brokenDoor ;