From 57ad82dc08300b902d9cd14a8dc1661e48ee65e8 Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 10 Dec 2024 07:39:45 +0100 Subject: [PATCH] Add second room --- index.t | 1 + locations/secondRoom.t | 35 +++++++++++++++++++++++++++++++++++ locations/startingRoom.t | 1 + 3 files changed, 37 insertions(+) create mode 100644 locations/secondRoom.t diff --git a/index.t b/index.t index 72ed3eb..621c346 100644 --- a/index.t +++ b/index.t @@ -28,5 +28,6 @@ gameMain: GameMainDef #include "characters/pc.t" #include "locations/startingRoom.t" +#include "locations/secondRoom.t" #include "items/note.t" diff --git a/locations/secondRoom.t b/locations/secondRoom.t new file mode 100644 index 0000000..a2254bb --- /dev/null +++ b/locations/secondRoom.t @@ -0,0 +1,35 @@ +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 +; + ++ Decoration + 'red balloon*balloons' + 'red balloon' + "Glossy spherical object made of rubber and filled with air. " +; + ++ Decoration + 'green balloon*balloons' + 'green balloon' + "Just a green balloon in the shape of a cucumber. " +; + ++ Decoration + 'blue balloon*balloons' + 'blue balloon' + "Bright inflatable object often used for decorations and celebrations. " +; + ++ secondRoomEastWall: defaultEastWall + desc = "The same wall as the others, but with a picture. " +; + +++ Component + 'painting/image/picture/drawing*drawings' + 'picture on the wall' + "Unframed reproduction of a famous painting glued to the wall.\n + In the corner, someone wrote four digits with a pink marker: 3339. + " +; diff --git a/locations/startingRoom.t b/locations/startingRoom.t index 7e2283e..16f8e97 100644 --- a/locations/startingRoom.t +++ b/locations/startingRoom.t @@ -1,3 +1,4 @@ startingRoom: Room 'Starting Room' "This is the boring starting room." + south = secondRoom; ;