Open eriktorbjorn opened 4 years ago
>DATE Today is 4/25/2041. >GUARD, OPEN GATE "Can I help you?"
There is a special case for that command in SPEAR-CARRIER-F:
SPEAR-CARRIER-F
(<AND <VERB? OPEN> <PRSO? ,GATE>> <DO-WALK ,P?NW> <RTRUE>)
But it doesn't work, because it tells the guard to walk northwest, and that's what he's responding to. If you change the code to:
(<AND <VERB? OPEN> <PRSO? ,GATE>> <SETG WINNER ,PLAYER> <DO-WALK ,P?NW> <SETG WINNER ,SPEAR-CARRIER> <RTRUE>)
it works as was probably intended:
>GUARD, OPEN GATE The gate is closed. A guard politely informs you that nonmilitary personnel are not allowed beyond this point.
There is a special case for that command in
SPEAR-CARRIER-F
:But it doesn't work, because it tells the guard to walk northwest, and that's what he's responding to. If you change the code to:
it works as was probably intended: