Hi everyone,
I'm building my first text adventure in Twine so apologies if this is something super basic that I haven't been able to grasp.
In my story I have both $HEALTH and $MORALITY which vary as you make choices and move through passages. I've managed to set $HEALTH and $MORALITY and I have figured out how to +/- both in the passages BUT:
When <<if $HEALTH < 1>> i.e. when the player dies due to his/her choices, I want the passage the player has died on to:
Display some text about the death in that particular passage AND remove the live links which are in the passage in case you do not die.
How do I do that? At the end of my (possible death) passages I have e.g.:
<<set $HEALTH = $HEALTH -40>>
<<if $HEALTH < 1>>
The assailants rescue a wounded Aaliya and take you on board as a companion. You go on to become a fairly successful gang member -- that is until turf wars over control of Lyari end with 12 bullets in your gut causing massive blood loss.
You are dead.
<<endif>>
[[not dead option 1 of passage still showing/clickable]]
[[not dead option 2 of passage still showing/clickable]]
Please help!