mirror of
https://github.com/He4eT/yet-another-experiment.git
synced 2026-05-05 00:57:22 +00:00
Suspense and finish
This commit is contained in:
parent
6264e881b8
commit
dd1dfaea58
3 changed files with 28 additions and 6 deletions
|
|
@ -26,10 +26,13 @@ elevatorDoor: LockableWithKey, Door
|
|||
}
|
||||
|
||||
noteTraversal (traveler) {
|
||||
" There is no controls inside.
|
||||
" You enter the elevator.
|
||||
There is no controls inside.
|
||||
<br>After you entered, the doors closed,
|
||||
and after a while the elevator
|
||||
stopped on another floor. ";
|
||||
stopped on another floor.\b";
|
||||
inputManager.pauseForMore(true);
|
||||
cls();
|
||||
}
|
||||
;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,16 @@
|
|||
blackRoom: Room
|
||||
'Long corridor'
|
||||
" Long corridor.
|
||||
'Dark corridor'
|
||||
" A long dark corridor
|
||||
running from west to east.
|
||||
<br>
|
||||
<br>A single flickering neon lamp
|
||||
is visible in the distance.
|
||||
<br>The eastern end of the corridor is dark.
|
||||
|
||||
<<blackElevatorDoor.makeOpen(nil)>>
|
||||
<<blackElevatorDoor.makeLocked(true)>>"
|
||||
|
||||
east = finish
|
||||
;
|
||||
|
||||
+ blackElevatorDoor: IndirectLockable, Door, RoomPartItem
|
||||
|
|
@ -14,3 +21,15 @@ blackRoom: Room
|
|||
|
||||
specialNominalRoomPartLocation = defaultWestWall
|
||||
;
|
||||
|
||||
+ Distant, Decoration
|
||||
'flickering neon lamp'
|
||||
'neon lamp'
|
||||
"Flickering neon lamp. "
|
||||
;
|
||||
|
||||
finish: FakeConnector {
|
||||
" This is the end.
|
||||
|
||||
<<finishGameMsg('Wasted', '')>>"
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ pinkRoom: Room
|
|||
'Changing room'
|
||||
" An elevator vestibule with a row of lockers,
|
||||
a dumpster and posters with safety rules.
|
||||
<br>You can see the elevator doors on the north wall. "
|
||||
<br>You can see the elevator doors on the south wall. "
|
||||
|
||||
east = cyanRoom
|
||||
south = elevatorDoor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue