oni-engine/sample.yaml

13 lines
420 B
YAML
Raw Normal View History

2024-09-11 11:47:00 -07:00
entrypoint:
scenario: "This is the entrypoint. Normally you shouldn't have scenario or choices."
goto: "titlescreen"
2024-09-09 13:31:24 -07:00
titlescreen:
scenario: "Welcome to the sample game! There's not much here to do, but this will be used to demonstrate examples.\nBefore you is a table with a salad."
choices: ["eat salad"]
eat salad:
2024-09-11 11:47:00 -07:00
scenario: "You ate the salad. The salad was poisoned. You died."
choices: ["Exit game"]