Files
orzo/docs/gyms/cross-timeline-interactions/gym_pattern3_variable_chain_A.dtl

25 lines
784 B
Plaintext

# ============================================================
# Pattern 3: Variable Chain (A sets, B checks)
# ============================================================
# Timeline A sets a variable. Later, Timeline B checks it.
# The timelines don't jump to each other — the hub handles routing.
# ============================================================
# Timeline A: Set the variable
label start
join Miko center
Miko (neutral): I'm in timeline A of the variable chain.
Miko (smile): I'm going to set a variable that another timeline will check.
# Set the flag
set {Gym.demo_flag} = true
Miko (joy): Done! `Gym.demo_flag` is now true.
Miko (neutral): The hub will now show me timeline B to see the result.
[wait time="1.0"]
jump gym_pattern3_variable_chain_B/start