This instance will be upgraded to Heptapod 0.17.0 on 2020-11-26 at 14:00 UTC+1 (a few minutes of down time)

Commit 63d900da authored by Jesse McGrew's avatar Jesse McGrew

ZILF-209: Fix AGAIN after KLUDGEBIT actions.

parent 216ad2cec5ad
......@@ -46,4 +46,16 @@
<COMMAND [WAKE]>
<EXPECT "Whom do you want to wake?|">>
<TEST-CASE ("AGAIN after KLUDGEBIT action (PRSO)")
<COMMAND [TAKE INVENTORY]>
<EXPECT "You are empty-handed.|">
<COMMAND [AGAIN]>
<EXPECT "You are empty-handed.|">>
<TEST-CASE ("AGAIN after KLUDGEBIT action (PRSI)")
<COMMAND [WAKE ME UP]>
<EXPECT "If only this were a dream.|">
<COMMAND [AGAIN]>
<EXPECT "If only this were a dream.|">>
<TEST-GO ,STARTROOM>
......@@ -1253,12 +1253,12 @@ Returns:
<RESTORE-PARSER-RESULT ,AGAIN-STORAGE>
<PROG ()
;"if PRSO and/or PRSI are set, make sure the object(s) still pass the checks"
<COND (<AND ,PRSO
<COND (<AND <N==? ,PRSO <> ,ROOMS>
<NOT ,PRSO-DIR>
<NOT <AND <STILL-VISIBLE-CHECK ,P-PRSOS>
<HAVE-TAKE-CHECK-TBL ,P-PRSOS <GETB ,P-SYNTAX ,SYN-OPTS1>>>>>
<RETURN>)
(<AND ,PRSI
(<AND <N==? ,PRSI <> ,ROOMS>
<NOT <AND <STILL-VISIBLE-CHECK ,P-PRSIS>
<HAVE-TAKE-CHECK-TBL ,P-PRSIS <GETB ,P-SYNTAX ,SYN-OPTS2>>>>>
<RETURN>)>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment