mirror of
https://github.com/He4eT/simple-tads-game.git
synced 2026-05-05 01:17:24 +00:00
Add third room with door
This commit is contained in:
parent
1c14b4c224
commit
4c8495581b
4 changed files with 27 additions and 0 deletions
2
index.t
2
index.t
|
|
@ -29,7 +29,9 @@ gameMain: GameMainDef
|
||||||
|
|
||||||
#include "locations/startingRoom.t"
|
#include "locations/startingRoom.t"
|
||||||
#include "locations/secondRoom.t"
|
#include "locations/secondRoom.t"
|
||||||
|
#include "locations/thirdRoom.t"
|
||||||
|
|
||||||
#include "items/note.t"
|
#include "items/note.t"
|
||||||
#include "items/fruitBox.t"
|
#include "items/fruitBox.t"
|
||||||
#include "items/table.t"
|
#include "items/table.t"
|
||||||
|
#include "items/oldDoor.t"
|
||||||
|
|
|
||||||
11
items/oldDoor.t
Normal file
11
items/oldDoor.t
Normal 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
|
||||||
|
;
|
||||||
|
|
@ -2,6 +2,7 @@ secondRoom: Room 'Second Room'
|
||||||
"This is another boring room with a few balloons and a painting on the wall. "
|
"This is another boring room with a few balloons and a painting on the wall. "
|
||||||
roomParts = (inherited() - [defaultEastWall] + [secondRoomEastWall])
|
roomParts = (inherited() - [defaultEastWall] + [secondRoomEastWall])
|
||||||
north = startingRoom
|
north = startingRoom
|
||||||
|
south = oldDoorOutside
|
||||||
;
|
;
|
||||||
|
|
||||||
+ Decoration
|
+ Decoration
|
||||||
|
|
|
||||||
13
locations/thirdRoom.t
Normal file
13
locations/thirdRoom.t
Normal 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
|
||||||
|
;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue