mirror of
https://github.com/He4eT/yet-another-experiment.git
synced 2026-05-05 00:57:22 +00:00
Random events
This commit is contained in:
parent
b08bec37fb
commit
46506fe96d
5 changed files with 33 additions and 12 deletions
|
|
@ -49,10 +49,11 @@ gameMain: GameMainDef
|
||||||
|
|
||||||
#include "src/actor/pc.t"
|
#include "src/actor/pc.t"
|
||||||
|
|
||||||
#include "src/action/repair.t"
|
|
||||||
|
|
||||||
#include "src/item/_bandage.t"
|
|
||||||
#include "src/item/interior.t"
|
#include "src/item/interior.t"
|
||||||
|
#include "src/item/_atmosphere.t"
|
||||||
|
|
||||||
|
#include "src/action/repair.t"
|
||||||
|
#include "src/item/_bandage.t"
|
||||||
|
|
||||||
/* rooms */
|
/* rooms */
|
||||||
|
|
||||||
|
|
|
||||||
15
src/item/_atmosphere.t
Normal file
15
src/item/_atmosphere.t
Normal 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
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
@ -27,3 +27,8 @@ MultiLoc, Decoration
|
||||||
pinkRoom
|
pinkRoom
|
||||||
]
|
]
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Decoration
|
||||||
|
'hidden speaker*speakers'
|
||||||
|
'speakers'
|
||||||
|
;
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,9 @@ cyanRoom: Room
|
||||||
|
|
||||||
north = yellowRoom
|
north = yellowRoom
|
||||||
east = operatingRoomDoorOutside
|
east = operatingRoomDoorOutside
|
||||||
west: FakeConnector {"
|
west: FakeConnector {
|
||||||
Striped safety tape blocks your way.
|
"Striped safety tape blocks your way."
|
||||||
"}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
+ Decoration
|
+ Decoration
|
||||||
|
|
@ -44,10 +44,16 @@ cyanRoom: Room
|
||||||
-> operatingRoomDoor
|
-> operatingRoomDoor
|
||||||
'armored operating door*doors'
|
'armored operating door*doors'
|
||||||
'armored door'
|
'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.
|
and a massive mechanical locking device with a circle keyhole.
|
||||||
<br>Next to the door is a sign <q>Restricted area</q>.<br>"
|
<br>Next to the door is a sign <q>Restricted area</q>.<br>"
|
||||||
keyList = [ labKey ]
|
keyList = [ labKey ]
|
||||||
knownKeyList = [ labKey ]
|
knownKeyList = [ labKey ]
|
||||||
specialNominalRoomPartLocation = defaultEastWall
|
specialNominalRoomPartLocation = defaultEastWall
|
||||||
;
|
;
|
||||||
|
|
||||||
|
++ Decoration
|
||||||
|
'massive mechanical locking device'
|
||||||
|
'locking device'
|
||||||
|
"It's a part of an armored door. "
|
||||||
|
;
|
||||||
|
|
|
||||||
|
|
@ -54,12 +54,6 @@ orangeRoom: DarkRoom
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
+ Decoration
|
|
||||||
'neon lamp*lamps'
|
|
||||||
'neon lamps'
|
|
||||||
"Ordinary neon lamps emit cold light. "
|
|
||||||
;
|
|
||||||
|
|
||||||
/* Content */
|
/* Content */
|
||||||
|
|
||||||
+ RoomPartItem, Decoration
|
+ RoomPartItem, Decoration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue