2019-05-15 17:56:16 -04:00
|
|
|
%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
|
|
|
|
- opener: I would, but there's still a bunch of foreshadowing and stuff we
|
|
|
|
have to get through first.
|
|
|
|
action: back
|
2019-05-30 15:44:29 -04:00
|
|
|
script: set tellmore += 1;
|
|
|
|
printf "You have seen this text {} times." tellmore
|