Twine Version:
[also choose a Story Format tag above]
I have a choice in one passage for the player to talk to a character, if they do it sets the value $askedjames using this code
(set: $AskedJames to true)
A few passages later the player is given an option to steal some bacon and will succeed depending on if they talked to james or not, i then want to set the variable $hunger to reflect if they got the bacon or not. The test code i have for this is
(if: $AskedJames,(set: $Hungry to false))[get bacon] (if: not $AskedJames,(set: $Hungry to true))[no bacon]
but i keep getting the error
1 too many values were given to the (if:) macro.
and both “get bacon” and “no bacon” showing. what am i doing wrong here?