recital / exporters / ink / test / expected / storylet.ink
storylet.ink
Raw
VAR first_set = false
VAR location = false

-> this_is_a_storylet_passage
=== this_is_a_storylet_passage ===
# STORYLET: true
This is story content that is automatically visited at the beginning.
-> _hub

= _hub
Choices await here…

$HUB this_is_a_storylet_passage
-> END

= first_scene
# CHOICE: "Looked around."
# ENTER: ["first_set = true","location = 'hideout'"]
This is the first storylet.
-> _hub

= scene_2
# CHOICE: "Wandered the streets."
# PERSISTENT: true
# PREREQS: ["first_set === true","location !== 'streets'"]
# ENTER: ["location = 'streets'"]
# EXIT: ["entered_streets = true"]
This is the second storylet.
-> _hub