Random events

This commit is contained in:
He4eT 2020-03-27 01:22:32 +05:00
commit 46506fe96d
5 changed files with 33 additions and 12 deletions

15
src/item/_atmosphere.t Normal file
View file

@ -0,0 +1,15 @@
modify Room
atmosphereList : ShuffledEventList {
[
'The lamps blinked several times in a row.\n',
'The walls vibrated slightly, but it was quickly over.\n',
'There was a noise under the floor.\n',
'Suddenly there was a series of clicks behind the panels.\n',
' Illegible voices came from
hidden speakers and soon died away.\n',
' Snatches of conversation came from the speakers,
but the words were indecipherable.\n'
]
eventPercent = 30
}
;

View file

@ -27,3 +27,8 @@ MultiLoc, Decoration
pinkRoom
]
;
Decoration
'hidden speaker*speakers'
'speakers'
;

View file

@ -20,9 +20,9 @@ cyanRoom: Room
north = yellowRoom
east = operatingRoomDoorOutside
west: FakeConnector {"
Striped safety tape blocks your way.
"}
west: FakeConnector {
"Striped safety tape blocks your way."
}
;
+ Decoration
@ -44,10 +44,16 @@ cyanRoom: Room
-> operatingRoomDoor
'armored operating door*doors'
'armored door'
" Armored door marked <q>Operating room</q>
" It's an armored door marked <q>Operating room</q>
and a massive mechanical locking device with a circle keyhole.
<br>Next to the door is a sign <q>Restricted area</q>.<br>"
keyList = [ labKey ]
knownKeyList = [ labKey ]
specialNominalRoomPartLocation = defaultEastWall
;
++ Decoration
'massive mechanical locking device'
'locking device'
"It's a part of an armored door. "
;

View file

@ -54,12 +54,6 @@ orangeRoom: DarkRoom
}
;
+ Decoration
'neon lamp*lamps'
'neon lamps'
"Ordinary neon lamps emit cold light. "
;
/* Content */
+ RoomPartItem, Decoration