Open eriktorbjorn opened 4 years ago
I did this at the start of the game, but it probably works just about everywhere:
>EXIT Warning: @test_attr called with object 0 (PC = ab6e) (will ignore further occurrences) You'll have to get out of the bed first.
This is because "EXIT" doesn't require an object, yet V-EXIT tests VEHBIT on PRSO:
V-EXIT
VEHBIT
PRSO
<SYNTAX EXIT = V-EXIT> <SYNTAX EXIT OBJECT = V-EXIT> <SYNONYM EXIT DEPART WITHDR>
<ROUTINE V-EXIT () <COND (<FSET? ,PRSO ,VEHBIT> <PERFORM ,V?DISEMBARK ,PRSO> <RTRUE>) (T <DO-WALK ,P?OUT>)>>
This was apparently fixed in the Solid Gold version, so maybe that's the fix we should use here as well:
<ROUTINE V-EXIT () <COND (<ZERO? ,PRSO> <SETG PRSO <LOC ,PROTAGONIST>>)> <COND (<FSET? ,PRSO ,VEHBIT> <PERFORM ,V?DISEMBARK ,PRSO> <RTRUE>) (T <DO-WALK ,P?OUT>)>>
I did this at the start of the game, but it probably works just about everywhere:
This is because "EXIT" doesn't require an object, yet
V-EXIT
testsVEHBIT
onPRSO
:This was apparently fixed in the Solid Gold version, so maybe that's the fix we should use here as well: