I'm running into a problem where certain printed strings are appearing out-of-order and with substitutions of other strings from elsewhere in the code (generally from the first block of strings, used in the occur when !flag 1 section of the game.)
The output shown is:
Tell me what to do ? read book
Paper you used as a bookmark FALLS out!
You are PRINCE HAMLET # this is a bad line
Tell me what to do ? read script
about fratricide & other TERRIBLE acts
What are you going to DO about it? # this is a bad line
CLAUDIUS is also guilty of!
Tell me what to do ?
But I would expect, based on my code:
action read book when carried book and !exists script
print "Words words words" # This line isn't being displayed
print "Paper you used as a bookmark FALLS out!" # This line is first instead of second, then followed by the "You are" bit!
put_with script book
and
action read script when carried script
print "Play script: The MURDER of GONZAGO!" # Not displayed, note that it's also the first line in this sequence
print "about fratricide & other TERRIBLE acts" # Displayed first instead of second
print "CLAUDIUS is also guilty of!" # Correctly displayed third, but with that "What are you" line inbetween!
This behavior is identical in scottkit -p and in scottfree.
Apologies for the critical path to replicate being a bit cumbersome...
OPEN WAR
GET ROB
GET DAG
OPEN DOR
GO DOR
n
w
get money
w
get book
e
e
u
w # small chance of random death here, sry
talk ghost
e
d
n
n
buy flowers
n
give flowers
yell ophelia
read book
read script
I'm running into a problem where certain printed strings are appearing out-of-order and with substitutions of other strings from elsewhere in the code (generally from the first block of strings, used in the
occur when !flag 1section of the game.)The output shown is:
But I would expect, based on my code:
and
This behavior is identical in scottkit -p and in scottfree.
Apologies for the critical path to replicate being a bit cumbersome...