gameshell/testing/testDialog.yml

21 lines
627 B
YAML

%YAML 1.2
---
# This is a sample dialog tree, represented as nested dicts in YAML.
opener: Hello, I'm a sample-dialog NPC. I assure you, I eventually turn
out to be a really well-rounded character.
action: answer
answers:
- Okay.
- Really? Well, tell me more!
replies:
- opener: Yup.
action: exit
- cond:
- case: tellmore < 5
opener: I would, but there's still a bunch of foreshadowing and stuff we
have to get through first.
action: back
script: set global tellmore += 1
- case: else
opener: You really want to know more, don't you?
action: back