It looks like you're new here. If you want to get involved, click one of these buttons!
This will start with a link that says it, then cycle through the four locations.(set:$place to (a:
"the cave",
"the bridge",
"the cliff",
"the lake"))
p>You walk until you reach (link-repeat:"|this>[it]")[(set:?this to $place's 1st)(set:$place to(rotated:1, ...$place))].
</p>
Comments
For anyone else looking at this and not following how it works, here's the relevant section in the docs: (it took me a minute to find it) https://twine2.neocities.org/2.html#type_array
I tried switching it to (replace:) but then it prints the entire array instead of just one item:
Prints: "You walk until you reach the cave,the bridge,the cliff,the lake's 1st."