Robot and cables descriptions

This commit is contained in:
He4eT 2020-03-17 17:41:51 +05:00
commit 4d730fb33f
3 changed files with 30 additions and 9 deletions

View file

@ -3,22 +3,38 @@ surgeryAssistant: Person
'surgeon assistant' 'surgeon assistant'
@redRoom @redRoom
" The torso of cybernetic assistant surgeon " The torso of cybernetic assistant surgeon
is wired to the ceiling. is wired to the ceiling. "
<br>Cameras are scanning the room.
various servos, units and cables make distinctive sounds,
the bulky arms slowly sway."
; ;
+ HermitActorState + HermitActorState
specialDesc = "Ttttest" specialDesc = "
Ttttest"
stateDesc = "
<br>The mechanism shows no signs of life
and indicators show the missing network connection.
<br>
<br>You can see an empty data port
on the robot's body
and a data cable hanging from the ceiling. "
noResponse = " noResponse = "
The surgical robot is not responding. The surgical robot is not responding.
<br>You can see the message <q>Connection lost</q> on the indicator display." <br>You can see the message
<q>Connection lost</q> on the indicator display. "
isInitState = true isInitState = true
; ;
+ robotOnline: ConversationReadyState
specialDesc = "
Robot ready to talk. "
stateDesc = "
<br>Cameras are scanning the room.
various servos, units and cables make distinctive sounds,
the bulky arms slowly sway. "
;
dataPort: PlugAttachable, Attachable, Fixture dataPort: PlugAttachable, Attachable, Fixture
'data port/outlet/socket' 'data port/outlet/socket'
'data port' 'data port'
@redRoom @redRoom
"Industry standard connector for automated assistants. "
; ;

View file

@ -2,7 +2,9 @@ dataCable: PlugAttachable, Attachable, RoomPart
'data cable/wire/cord' 'data cable/wire/cord'
'data cable' 'data cable'
@redRoom @redRoom
"Thick data cable with damaged connector." " Thick data cable with
<<jack.isBroken ? 'damaged' : 'ugly'>>
connector. "
canAttachTo (obj) { canAttachTo (obj) {
return !jack.isBroken && obj == dataPort; return !jack.isBroken && obj == dataPort;
@ -21,7 +23,10 @@ dataCable: PlugAttachable, Attachable, RoomPart
dobjFor (AttachTo) { dobjFor (AttachTo) {
action () { action () {
"Data cable pluged in."; surgeryAssistant.setCurState(robotOnline);
" Data cable pluged in.
<br>There were service sounds and
the surgical assistant began to show signs of life. ";
} }
} }
; ;

View file

@ -8,6 +8,6 @@ redRoom: Room
+ operatingRoomDoor: Door, RoomPartItem + operatingRoomDoor: Door, RoomPartItem
'armored operating door*doors' 'armored operating door*doors'
'armored door' 'armored door'
"An armored door with a massive locking mechanism." "An armored door with a massive locking mechanism. "
specialNominalRoomPartLocation = defaultWestWall specialNominalRoomPartLocation = defaultWestWall
; ;