You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V-EXAMINE contains this code for examining people from a distance:
<COND (<OR <IN?,PRSO,GLOBAL-OBJECTS>
<NOT <EQUAL? <META-LOC ,PRSO> ,HERE,LOCAL-GLOBALS>>>
<COND (<NEARBY? ,PRSO>
<TELL"You ought to get closer, you'd get a better look." CR>)
(T
<NOT-HERE ,PRSO>
<RTRUE>)>)
However, it doesn't work. If I understand it correctly that's because you're looking at the global character object (e.g. GLOBAL-MICHAEL), and NEARBY? works on the local character object (e.g. MICHAEL).
Compare this to how for instance V-WALK-TO does it:
V-EXAMINE
contains this code for examining people from a distance:However, it doesn't work. If I understand it correctly that's because you're looking at the global character object (e.g.
GLOBAL-MICHAEL
), andNEARBY?
works on the local character object (e.g.MICHAEL
).Compare this to how for instance
V-WALK-TO
does it:V-EXAMINE
should presumably do something similar.The text was updated successfully, but these errors were encountered: