Created
April 22, 2012 10:37
-
-
Save tehbeard/2463388 to your computer and use it in GitHub Desktop.
Vocalise File format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Vocalise File Format, Version 1.0 | |
id: "start" # Id addressable nodes | |
type: "bool" # Branching options! | |
text: "Do you wish to continue?" | |
t: # inline nodes | |
type: "msg" | |
text: "ok, carry on" | |
next: | |
type: "menu" | |
options: | |
'0': | |
name: "rabbit" | |
prompt: | |
type: "msg" | |
text: "You are eaten by a cute little rabbit" | |
next: "start" # non-linear graphs using id's | |
'1': | |
name: "mouse" | |
prompt: | |
type: "msg" | |
text: "You squish the mouse" | |
next: | |
type: "inpstr" # Input prompts to gather data | |
text: "Enter a word" | |
variable: "foo" | |
next: "endit" # Reference prompts passed into the PromptBuilder object | |
f: | |
type: "msg" | |
text: "maybe next time" | |
next: "NULL" # Exit prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment