mirror of
https://github.com/He4eT/yet-another-experiment.git
synced 2026-05-05 00:57:22 +00:00
Robot and cables descriptions
This commit is contained in:
parent
f544d12d57
commit
4d730fb33f
3 changed files with 30 additions and 9 deletions
|
|
@ -3,22 +3,38 @@ surgeryAssistant: Person
|
|||
'surgeon assistant'
|
||||
@redRoom
|
||||
" The torso of cybernetic assistant surgeon
|
||||
is wired to the ceiling.
|
||||
<br>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 = "
|
||||
<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 = "
|
||||
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
|
||||
;
|
||||
|
||||
+ 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
|
||||
'data port/outlet/socket'
|
||||
'data port'
|
||||
@redRoom
|
||||
"Industry standard connector for automated assistants. "
|
||||
;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
<<jack.isBroken ? 'damaged' : 'ugly'>>
|
||||
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.
|
||||
<br>There were service sounds and
|
||||
the surgical assistant began to show signs of life. ";
|
||||
}
|
||||
}
|
||||
;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue