Suspense and finish

This commit is contained in:
He4eT 2020-03-21 17:55:05 +05:00
commit dd1dfaea58
3 changed files with 28 additions and 6 deletions

View file

@ -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();
}
;

View file

@ -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', '')>>"
};

View file

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