diff --git a/src/action/repair.t b/src/action/repair.t
index d7b2b67..2297b40 100644
--- a/src/action/repair.t
+++ b/src/action/repair.t
@@ -6,8 +6,8 @@ VerbRule(Repair)
;
modify Thing
- dobjFor(Repair) {
- verify() {
+ dobjFor (Repair) {
+ verify () {
illogical('{You/he} do{es}n\'t know how to repair {that dobj/him}. ');
}
}
@@ -21,13 +21,13 @@ VerbRule(RepairWith)
;
modify Thing
- dobjFor(RepairWith) {
- verify() {
+ dobjFor (RepairWith) {
+ verify () {
illogical('{That dobj/he} {is}n\'t something {you/he} can fix. ');
}
}
- iobjFor(RepairWith) {
- verify() {
+ iobjFor (RepairWith) {
+ verify () {
illogical('{That iobj/he} do{es}n\'t look very useful as a tool. ');
}
}
diff --git a/src/actor/pc.t b/src/actor/pc.t
index 0569674..da9d19e 100644
--- a/src/actor/pc.t
+++ b/src/actor/pc.t
@@ -7,6 +7,6 @@ me: Actor
+ jumpsuit: Wearable
'gray grey jumpsuit/suit'
'gray jumpsuit'
- "Gray jumpsuit with several pockets."
+ "Gray jumpsuit with several pockets. "
wornBy = me
;
diff --git a/src/actor/surgeryAssistant.t b/src/actor/surgeryAssistant.t
index 8be7799..1402b26 100644
--- a/src/actor/surgeryAssistant.t
+++ b/src/actor/surgeryAssistant.t
@@ -18,8 +18,7 @@ surgeryAssistant: Person
+ Decoration
'indicator display'
'indicator display'
- " You can see the message
- Connection lost
on the indicator display. "
+ "Small indicator display. "
;
+ Decoration
@@ -28,6 +27,8 @@ surgeryAssistant: Person
"Parts of this mechanism look very technologically advanced. "
;
+/* Offline */
+
+ HermitActorState
specialDesc = "
There's a surgical assistant in the corner of the room. "
@@ -45,6 +46,8 @@ surgeryAssistant: Person
isInitState = true
;
+/* Online */
+
+ robotOnline: InConversationState
specialDesc = "
The surgical assistant examines the room. "
diff --git a/src/item/_bandage.t b/src/item/_bandage.t
index bb7a8d3..d3b2495 100644
--- a/src/item/_bandage.t
+++ b/src/item/_bandage.t
@@ -1,3 +1,3 @@
Bandage: Thing
- iobjFor(RepairWith) { verify() {} }
+ iobjFor (RepairWith) { verify () {} }
;
diff --git a/src/item/advertisingDisplay.t b/src/item/advertisingDisplay.t
index 2386771..9395be3 100644
--- a/src/item/advertisingDisplay.t
+++ b/src/item/advertisingDisplay.t
@@ -1,12 +1,11 @@
advertisingDisplay: Decoration
'bright lcd screen/display/monitor'
'bright lcd display'
+ @yellowRoom
" Huge and bright display mounted on the wall.
Images changes one by another.<.p>
On the screen you see "
- location = yellowRoom
-
dobjFor (Examine) {
action () {
inherited;
diff --git a/src/item/dataCable.t b/src/item/dataCable.t
index 4a47956..82000b7 100644
--- a/src/item/dataCable.t
+++ b/src/item/dataCable.t
@@ -10,7 +10,7 @@ dataCable: PlugAttachable, Attachable, RoomPart
return !jack.isBroken && obj == dataPort;
}
- explainCannotAttachTo(obj) {
+ explainCannotAttachTo (obj) {
obj != dataPort
? "This data cable can only be connected to the data port. "
: jack.isBroken
@@ -46,7 +46,7 @@ dataCable: PlugAttachable, Attachable, RoomPart
dobjFor (AttachTo) remapTo(AttachTo, dataCable, IndirectObject)
dobjFor (Repair) {
- verify() {
+ verify () {
if (jack.isBroken) {
illogical('
This connector can be fixed
@@ -57,7 +57,7 @@ dataCable: PlugAttachable, Attachable, RoomPart
}
}
dobjFor (RepairWith) {
- verify() {
+ verify () {
if (!jack.isBroken) {
illogical('The connector is already fixed. ');
}
@@ -70,7 +70,7 @@ dataCable: PlugAttachable, Attachable, RoomPart
for fixing the connector. ');
}
}
- action() {
+ action () {
gIobj.moveInto(nil);
jack.isBroken = nil;
"The connector is now ugly, but serviceable. ";
diff --git a/src/item/labCoat.t b/src/item/labCoat.t
index 06fe3d6..61c0789 100644
--- a/src/item/labCoat.t
+++ b/src/item/labCoat.t
@@ -7,7 +7,7 @@ labCoat: Container
you can see some sloppy cuts obviously made in a hurry.
<< labKey.location == labCoat
? '
Something heavy is hidden inside one of the pockets. '
- : ''>>"
+ : ''>> "
firstLook = nil
initDesc = "
@@ -31,12 +31,12 @@ labCoat: Container
name = 'lab coat';
firstLook = true;
initializeVocabWith('cutted lab coat');
- "The bloody cloth turns out to be a cutted lab coat.";
+ "The bloody cloth turns out to be a cutted lab coat. ";
}
;
+ labKey: Key, Hidden
'long steel tubular lab key*keys'
'tubular key'
- "Long tubular key made of steel."
+ "Long tubular key made of steel. "
;
diff --git a/src/item/lockers.t b/src/item/lockers.t
index d3f9ab5..4699c4e 100644
--- a/src/item/lockers.t
+++ b/src/item/lockers.t
@@ -5,7 +5,7 @@ lockers: Fixture
" A row of service lockers with a numpad keyboard on the side.
This row, according to the signs,
includes (from left to right) the lockers of
- Dr. O'Neill, Alice, and Mark. "
+
Dr. O'Neill, Alice Dash, and Mark Hopper. "
;
modify VerbRule(SetTo)
@@ -27,10 +27,9 @@ modify VerbRule(SetTo)
: '0';
}
- dobjFor(TypeLiteralOn)
- remapTo(SetTo, self, OtherObject)
+ dobjFor (TypeLiteralOn) remapTo(SetTo, self, OtherObject)
- dobjFor(SetTo) {
+ dobjFor (SetTo) {
action () {
inherited;
if (curSetting == aliceLocker.code) {
diff --git a/src/item/tape.t b/src/item/tape.t
index e570d79..8cce05a 100644
--- a/src/item/tape.t
+++ b/src/item/tape.t
@@ -1,11 +1,11 @@
tapeWall: Thing, RoomPartItem
'striped safety tape*tapes'
'safety tape'
+ @cyanRoom
" Many layers of strips of
two-tone safety tape obscure the doorway.
Looks like the black and yellow wall. "
- location = cyanRoom
specialNominalRoomPartLocation = defaultWestWall
isListed = nil
diff --git a/src/item/whitePanels.t b/src/item/whitePanels.t
index 01f442e..c80bf4b 100644
--- a/src/item/whitePanels.t
+++ b/src/item/whitePanels.t
@@ -7,6 +7,8 @@
orangeRoom,
orangeBathroom,
yellowRoom,
- cyanRoom
+ cyanRoom,
+ pinkRoom,
+ redRoom
]
;
diff --git a/src/room/orangeBathroom.t b/src/room/orangeBathroom.t
index 98d9a72..4046d6f 100644
--- a/src/room/orangeBathroom.t
+++ b/src/room/orangeBathroom.t
@@ -2,26 +2,32 @@ orangeBathroom: Room
'Bathroom'
" Tiny bathroom with shower cabine, toilet and sink.
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
diff --git a/src/room/orangeRoom.t b/src/room/orangeRoom.t
index 71bac2c..f18f72b 100644
--- a/src/room/orangeRoom.t
+++ b/src/room/orangeRoom.t
@@ -14,7 +14,7 @@ orangeRoom: DarkRoom
and a desk against the east wall.
<and an orange triangle.>
<and a khaki triangle.>
<and a brown triangle.>