So, I am making a game, where, at one point, you can find a card, which will later be used to open a locked door.
First part is when I set the variable "card" to 1
<<set $card to 1>>
And here is the code to display an option to use the card to open the door.
<<if $card is 1>>
use card on the card reader -> room 2 <<endif>>
I have coppied the code from the Twine wiki and altered it, but the option to use the card on the door displays everytime, even when the player has not found the card.
Can you tell me, what is wrong with the code?
Comments
Your link should look like this:
I am guessing that you were use the Harlowe story format and the it's macro syntax is different to what you were trying to use. Your code should of looked like the following: