From 4b936c6649731c820e1bf87a71926b7fe4e17387 Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 17 Mar 2020 17:58:20 +0500 Subject: [PATCH] Robot descriptions --- src/actor/surgeryAssistant.t | 17 ++++++++--------- src/item/dataCable.t | 18 +++++++++--------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/actor/surgeryAssistant.t b/src/actor/surgeryAssistant.t index b826687..e57e25b 100644 --- a/src/actor/surgeryAssistant.t +++ b/src/actor/surgeryAssistant.t @@ -6,9 +6,15 @@ surgeryAssistant: Person is wired to the ceiling. " ; ++ dataPort: PlugAttachable, Attachable, Fixture + 'data port/outlet/socket' + 'data port' + "Industry standard port for automated assistants. " +; + + HermitActorState specialDesc = " - Ttttest" + There's a surgical assistant in the corner of the room. " stateDesc = "
The mechanism shows no signs of life and indicators show the missing network connection. @@ -25,16 +31,9 @@ surgeryAssistant: Person + robotOnline: ConversationReadyState specialDesc = " - Robot ready to talk. " + The surgical assistant examines the room. " stateDesc = "
Cameras are scanning the room. various servos, units and cables make distinctive sounds, the bulky arms slowly sway. " ; - -dataPort: PlugAttachable, Attachable, Fixture - 'data port/outlet/socket' - 'data port' - @redRoom - "Industry standard connector for automated assistants. " -; diff --git a/src/item/dataCable.t b/src/item/dataCable.t index 8b5f472..4a47956 100644 --- a/src/item/dataCable.t +++ b/src/item/dataCable.t @@ -12,9 +12,9 @@ dataCable: PlugAttachable, Attachable, RoomPart explainCannotAttachTo(obj) { obj != dataPort - ? "This data cable can only be connected to the data port." + ? "This data cable can only be connected to the data port. " : jack.isBroken - ? "The connector on data cable is broken." + ? "The connector on data cable is broken. " : ""; } @@ -37,10 +37,10 @@ dataCable: PlugAttachable, Attachable, RoomPart "<One of the components of its body should be - fixed with glue, duct tape or something similar.' + fixed with glue, duct tape or something similar' : 'Fixed connector. -
The broken part is held carelessly.' - >>" +
The broken part is held carelessly' + >>. " isBroken = true dobjFor (AttachTo) remapTo(AttachTo, dataCable, IndirectObject) @@ -50,16 +50,16 @@ dataCable: PlugAttachable, Attachable, RoomPart if (jack.isBroken) { illogical(' This connector can be fixed - with glue, duck tape or something similar.'); + with glue, duck tape or something similar. '); } else { - illogical('The connector is already fixed.'); + illogical('The connector is already fixed. '); } } } dobjFor (RepairWith) { verify() { if (!jack.isBroken) { - illogical('The connector is already fixed.'); + illogical('The connector is already fixed. '); } if (gIobj not in ( dentalFloss, @@ -73,7 +73,7 @@ dataCable: PlugAttachable, Attachable, RoomPart action() { gIobj.moveInto(nil); jack.isBroken = nil; - "The connector is now ugly, but serviceable."; + "The connector is now ugly, but serviceable. "; } } ;