"FIND <object>" could print a better message if another robot has it
eriktorbjorn opened this issue · 0 comments
eriktorbjorn commented
>POET, LOOK
FC: Cryolink established to Poet.
POET: Internal map reference -- Hydroponics Monitors
They move like snakes, without a bone.
In the room with me is Sensa.
Sensa is carrying a slanting wedge.
>FIND WEDGE
It's in the Sensa.
There's already a special case for when a "villain" has the object, i.e. almost certainly the humans, so adding a similar case for robots seems reasonable:
>FIND TOOL BAG
The talking mechanisms have it.
I suggest adding something like this:
(<GETP .L ,P?ROBOT>
<ROBOT-TELL "" <>>
<TELL D .L " has it." CR>)
The ROBOT-TELL
line is there just to get the message properly prefixed, e.g.:
>SENSA, FIND WEDGE
FC: Cryolink established to Sensa.
SENSA: Poet has it.
Actually, if this trick is acceptable it should also be used for finding another robot in the roob, because right now that response isn't prefixed:
>POET, FIND SENSA
FC: Cryolink established to Poet.
Sensa is right here.