The yellow room and a door between two rooms

This commit is contained in:
He4eT 2019-11-05 02:35:25 +05:00
commit d87ad915a7
3 changed files with 32 additions and 0 deletions

View file

@ -12,8 +12,20 @@ orangeRoom: DarkRoom
The room contains
an ascetic bed
and a desk against the east wall."
south = orangeDoor
;
/* Doors */
+ orangeDoor:
Door
'white sliding door'
'sliding door'
"White sliding door in south wall.<br>"
isListed = true;
/* Lights */
+ OnOffControl, Fixture
'small luminous switch/light/lights'
'small luminous switch'
@ -29,6 +41,7 @@ orangeRoom: DarkRoom
makeOn (val) {
inherited(val);
location.brightness = val ? 3 : 0;
isListed = val ? nil : true;
val
? "You hear slight hum of neon lamps, followed with bright light."
@ -42,6 +55,8 @@ orangeRoom: DarkRoom
"Ordinary neon lamps emit cold light."
;
/* Content */
+ Decoration
'orange digits/number'
'orange number'