1
0
Fork 0
mirror of https://github.com/Oreolek/ink-instead.git synced 2024-05-12 22:18:26 +03:00
ink-instead/test/choices.lua
2016-12-03 04:13:50 +01:00

42 lines
958 B
Lua

return {
ink=[[
== start ==
* I dont know
* "I am somewhat tired[."]," I repeated.
"Really," he responded.
"How deleterious."
* "Nothing, Monsieur!"[] I replied.
"Very good, *then."
* I said no more
"Ah,". "I see you"
== finale ==
]],
expected= {
{
"knot",
"start",
{
"choice",
{"option", "I dont know", "", ""},
{
"option",
'"I am somewhat tired',
'."',
'," I repeated.',
{"para", '"Really," he responded.'},
{"para", '"How deleterious."'}
},
{
"option",
'"Nothing, Monsieur!"',
"",
" I replied.",
{"para", '"Very good, *then."'}
},
{"option", "I said no more", "", "", {"para", '"Ah,". "I see you"'}}
}
},
{"knot", "finale"}
}
}