I’m pretty much a noob at all this. so if i’ve posted in the wrong forum please let me know.
I’m creating my first story in TWINE 2.1.3 and i’ve come across a problem with one of my ‘if’ statements.
In my story, there are passages that will only give the player certain options depending on what they have picked up, e.g,
(if: $mothersbrooch is false) [ [[You have nothing to unlock cage with->hide camp]] ]
(if: $mothersbrooch is true) [ [[Using the pin on your Mother's Brooch, you attempt to unlock the cage->scage1unlock]] ]
This passage works fine. However, the passage before uses the same logic but does not work;
(if: $wineskin1 is true) [ [[Leave the wineskin for him to find->Drunk raider]] ]
(if: $wineskin1 is false) [ [[Unlock cage]] ]
The only real difference between the passages is that the one that doesn’t work has one line of story on the line above the ‘if’ statement.
Any help on this would be really appreciated as i’m getting rather frustrated.