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) { noteTraversal (traveler) {
" There is no controls inside. " You enter the elevator.
There is no controls inside.
<br>After you entered, the doors closed, <br>After you entered, the doors closed,
and after a while the elevator and after a while the elevator
stopped on another floor. "; stopped on another floor.\b";
inputManager.pauseForMore(true);
cls();
} }
; ;

View file

@ -1,16 +1,35 @@
blackRoom: Room blackRoom: Room
'Long corridor' 'Dark corridor'
" Long 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.makeOpen(nil)>>
<<blackElevatorDoor.makeLocked(true)>>" <<blackElevatorDoor.makeLocked(true)>>"
east = finish
; ;
+ blackElevatorDoor: IndirectLockable, Door, RoomPartItem + blackElevatorDoor: IndirectLockable, Door, RoomPartItem
'elevator door*doors' 'elevator door*doors'
'elevator doors' 'elevator doors'
" Steel doors marked <q>restricted access</q>. " Steel doors marked <q>restricted access</q>.
<br>There are no controls here." <br>There are no controls here. "
specialNominalRoomPartLocation = defaultWestWall 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' 'Changing room'
" An elevator vestibule with a row of lockers, " An elevator vestibule with a row of lockers,
a dumpster and posters with safety rules. 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 east = cyanRoom
south = elevatorDoor south = elevatorDoor