Debian Codegraph @

tests/inputs/guard_talking.yarn

raw
1 // https://docs.yarnspinner.dev/write-yarn-scripts/scripting-fundamentals/detour
2 title: Guard
3 ---
4 Guard: Have I told you my backstory?
5 -> Yes.
6 Guard: Oh. Well, then.
7 -> No?
8 <<detour Guard_Backstory>>
9 Guard: Anyway, you can't come in.
10 ===
11
12 title: Guard_Backstory
13 ---
14 Guard: Do you want the detailed version or the short version?
15 -> Detailed.
16 <<detour Guard_Detailed_Backstory>>
17 Guard: I hope you enjoyed learning all that.. Anyway...
18 -> Short.
19 Guard: Right, well, I was a recruit, then I wasn't.
20 ===
21
22 title: Guard_Detailed_Backstory
23 ---
24 Guard: It all started when I was a mere recruit.
25 // (five minutes of exposition omitted)
26 // (other stuff happens)
27 Guard: Want to hear more?
28 -> Yes.
29 -> No.
30 <<return>>
31 Guard: (speaks more garbage)
32 ===