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

-> a_regular_passage
=== a_regular_passage ===
This plays before the storylet passage.
* [First choice]
* [Second choice]
- Gather.

-> 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
-> final_passage

= 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

=== final_passage ===
When the storylet is done, we go here.
-> END