What I’m trying to do: Reveal additional passage links based on passages the player has visited. For example, visiting one Passage should “unlock” a link to another passage in the “Downtown” passage.
How I’m trying to do it: Set a variable to true when they visit a passage that should unlock another passage. On the “Downtown” page, I’m just using if: and hidden hooks. Example:
(if: $megansapartment is true)[ [[Old Salty's]]])
The problem: Navigating to the Downtown passage using the back arrow icon doesn’t re-run the if: macro (based on https://twine2.neocities.org/#macro_if this appears to be by design).
I can get it to work by adding a link back to Downtown from Megan’s Apartment, which apparently does re-run the macro. So I guess I could try to just remove the back and forward arrows from the template and only use hand coded passage links for navigation, but I’m hoping there’s a better way to do what I’m trying to do (it’s also not clear to me that my workaround is officially supported, so I’m worried it might break at some point).
Thanks in advance!