Open eriktorbjorn opened 4 years ago
Same thing with BLUE-DOOR-ENTER
:
(<NOT <FSET? ,BLUE-DOOR ,OPENBIT>>
<TELL "The " D ,BLUE-DOOR " is closed." CR>
<RFALSE>)
Same thing with EXIT-CLOWN-ALLEY
:
<COND (<NOT <FSET? ,WARPED-DOOR ,OPENBIT>>
<TELL "The " D ,WARPED-DOOR " is closed." CR>
<RFALSE>)
One feature I really like about Infocom games is that they (usually) make sure that "it" refers to something sensible. For instance, if the game tells you that the door you just tried to go through is closed, it usually sets "it" to mean the door.
For ordinary door exits, this would be handled by
V-WALK
itself:(For some reason, this game does not have any
THIS-IS-IT
routine, so it setsP-IT-OBJECT
directly.)But for Mahler's cage, this doesn't work:
That's because
APE-ENTER
doesn't setP-IT-OBJECT
: