Add third room with door

This commit is contained in:
He4eT 2024-12-10 09:44:10 +01:00
commit 4c8495581b
4 changed files with 27 additions and 0 deletions

View file

@ -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"

11
items/oldDoor.t Normal file
View file

@ -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
;

View file

@ -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

13
locations/thirdRoom.t Normal file
View file

@ -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
;