yarn-spinner-loader/tests/fixtures/complex/dialogue/main.yarn

25 lines
409 B
Plaintext

title: ComplexNode1
tags: test complex
when: $has_sword
---
Character: This is a complex node with tags and conditions.
<<once>>
This text only shows once.
<<endonce>>
===
title: ComplexNode2
---
<<if $has_key>>
Character: You have the key!
<<else>>
Character: You need a key to proceed.
<<endif>>
Here are your options:
-> [Option 1] Go left
You went left.
-> [Option 2] Go right
You went right.
===