diff --git a/src/actor/surgeryAssistant.t b/src/actor/surgeryAssistant.t index dcc245f..b826687 100644 --- a/src/actor/surgeryAssistant.t +++ b/src/actor/surgeryAssistant.t @@ -3,22 +3,38 @@ surgeryAssistant: Person 'surgeon assistant' @redRoom " The torso of cybernetic assistant surgeon - is wired to the ceiling. -
Cameras are scanning the room. - various servos, units and cables make distinctive sounds, - the bulky arms slowly sway." + is wired to the ceiling. " ; + HermitActorState - specialDesc = "Ttttest" + specialDesc = " + Ttttest" + stateDesc = " +
The mechanism shows no signs of life + and indicators show the missing network connection. +
+
You can see an empty data port + on the robot's body + and a data cable hanging from the ceiling. " noResponse = " The surgical robot is not responding. -
You can see the message Connection lost on the indicator display." +
You can see the message + Connection lost on the indicator display. " isInitState = true ; ++ robotOnline: ConversationReadyState + specialDesc = " + Robot ready to talk. " + 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 e4a91d6..8b5f472 100644 --- a/src/item/dataCable.t +++ b/src/item/dataCable.t @@ -2,7 +2,9 @@ dataCable: PlugAttachable, Attachable, RoomPart 'data cable/wire/cord' 'data cable' @redRoom - "Thick data cable with damaged connector." + " Thick data cable with + <> + connector. " canAttachTo (obj) { return !jack.isBroken && obj == dataPort; @@ -21,7 +23,10 @@ dataCable: PlugAttachable, Attachable, RoomPart dobjFor (AttachTo) { action () { - "Data cable pluged in."; + surgeryAssistant.setCurState(robotOnline); + " Data cable pluged in. +
There were service sounds and + the surgical assistant began to show signs of life. "; } } ; diff --git a/src/room/redRoom.t b/src/room/redRoom.t index f556135..2e3db62 100644 --- a/src/room/redRoom.t +++ b/src/room/redRoom.t @@ -8,6 +8,6 @@ redRoom: Room + operatingRoomDoor: Door, RoomPartItem 'armored operating door*doors' 'armored door' - "An armored door with a massive locking mechanism." + "An armored door with a massive locking mechanism. " specialNominalRoomPartLocation = defaultWestWall ;