Style and polish

This commit is contained in:
He4eT 2020-03-20 00:13:57 +05:00
commit b9904b2dbc
14 changed files with 56 additions and 46 deletions

View file

@ -2,26 +2,32 @@ orangeBathroom: Room
'Bathroom'
" Tiny bathroom with shower cabine, toilet and sink.
<br>On the wall you can see a locker with a mirror door.<.p>
The only exit leads to the east."
The only exit leads to the east. "
east = orangeRoom
;
+ Decoration
'shower cabine'
'shower cabine'
"It's a minimalistic shower cabine."
"It's a minimalistic shower cabine. "
dobjFor (Take) {
verify () {
illogical('Not now. ');
}
}
;
+ Decoration
'toilet'
'toilet'
"An ordinary toilet."
"An ordinary toilet. "
;
+ Decoration
'faucet sink'
'sink'
"There's a water faucet and a small sink."
"There's a water faucet and a small sink. "
;
+ bathroomLocker: OpenableContainer, Fixture

View file

@ -14,7 +14,7 @@ orangeRoom: DarkRoom
and a desk against the east wall.
</p>
The bathroom is to the west,
the exit door leads to the south."
the exit door leads to the south. "
south = orangeDoor
west = orangeBathroom
;
@ -33,7 +33,7 @@ orangeRoom: DarkRoom
+ RoomPartItem, OnOffControl, Fixture
'(small) luminous switch/light*lights'
'small luminous switch'
"It's a small luminous switch on the wall."
"It's a small luminous switch on the wall. "
specialNominalRoomPartLocation = defaultSouthWall
isListed = true
@ -48,15 +48,16 @@ orangeRoom: DarkRoom
isListed = val ? nil : true;
val
? "You hear slight hum of neon lamps, followed with bright light."
: "Darkness filled the room.";
? " You hear slight hum of neon lamps,
followed with bright light. "
: " Darkness filled the room. ";
}
;
+ Decoration
'neon lamp*lamps'
'neon lamps'
"Ordinary neon lamps emit cold light."
"Ordinary neon lamps emit cold light. "
;
/* Content */
@ -65,27 +66,27 @@ orangeRoom: DarkRoom
'orange digits*digits/number*numbers'
'orange number'
" Orange, huge and neat digits
without additional explanation."
without additional explanation. "
specialNominalRoomPartLocation = defaultNorthWall
;
+ orangeBed: Bed, Heavy
'ascetic bed'
'ascetic bed'
"It has a plastic frame and an unsprung mattress."
"It has a plastic frame and an unsprung mattress. "
;
+ desk: Heavy, Surface
'white desk/table'
'white desk'
" This white desk has some marks on working surface
and a single drawer."
and a single drawer. "
;
++ Decoration
'letters/label/mark*marks'
'some scratched letters'
"You can't make out the inscription."
"You can't make out the inscription. "
;
++ drawer: Component, OpenableContainer
@ -97,9 +98,9 @@ orangeRoom: DarkRoom
+++ whiteCube: Thing
'white cube'
'white cube'
"Small glossy white cube.";
"Small glossy white cube. ";
+++ blackCube: Thing
'black cube'
'black cube'
"Small glossy black cube.";
"Small glossy black cube. ";

View file

@ -1,7 +1,7 @@
pinkRoom: Room
'Changing room'
" An elevator vestibule with a row of lockers,
a dumpster and posters with safety rules."
a dumpster and posters with safety rules. "
east = cyanRoom
;
@ -24,14 +24,14 @@ pinkRoom: Room
+ Decoration, RoomPartItem
'keycard reader'
'keycard reader'
"Small security device without any visible indicators."
"Small security device without any visible indicators. "
specialNominalRoomPartLocation = defaultSouthWall
;
+ Decoration
'dumpster label'
'dumpster label'
"Label says <<dumpster.label>>."
"Label says <<dumpster.label>>. "
;
+ dumpster: OpenableContainer

View file

@ -23,7 +23,7 @@ yellowRoom: Room
+ orangeDoorOutside: Door, AutoClosingDoor, RoomPartItem
-> orangeDoor
'orange door*doors'
'door with <b>orange</b> triangle'
'orange door'
" Sliding door with the number
<q><<gameMain.experimentNumber>></q>
and an orange triangle.<br>"
@ -32,7 +32,7 @@ yellowRoom: Room
+ khakiDoor: IndirectLockable, Door, RoomPartItem
'khaki door*doors'
'door with <b>khaki</b> triangle'
'khaki door'
" Sliding door with the number
<q><<gameMain.experimentNumber - 1>></q>
and a khaki triangle.<br>"
@ -42,7 +42,7 @@ yellowRoom: Room
+ brownDoor: IndirectLockable, Door, RoomPartItem
'brown door*doors'
'door with <b>brown</b> triangle'
'brown door'
" Sliding door with the number
<q><<gameMain.experimentNumber - 2>></q>
and a brown triangle.