From 0814851b27cbbb710f850c04ff9e85604e7d8e71 Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 10 Dec 2024 10:04:42 +0100 Subject: [PATCH] Add broken door --- index.t | 1 + items/brokenDoor.t | 11 +++++++++++ locations/startingRoom.t | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 items/brokenDoor.t 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 ;