oni-engine/sample.yaml

12 lines
420 B
YAML

entrypoint:
scenario: "This is the entrypoint. Normally you shouldn't have scenario or choices."
goto: "titlescreen"
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:
scenario: "You ate the salad. The salad was poisoned. You died."
choices: ["Exit game"]