1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/choice line interpolation with text event.lua
2021-11-27 14:37:55 +01:00

72 lines
No EOL
1.4 KiB
Lua

local _={}
_[30]={1}
_[29]={}
_[28]={}
_[27]={1}
_[26]={}
_[25]={text=" to move.",tags=_[26]}
_[24]={text="joystick",tags=_[26]}
_[23]={text="left ",tags=_[30]}
_[22]={text="Use ",tags=_[26]}
_[21]={text="Other",tags=_[29]}
_[20]={}
_[19]={text="No",tags=_[28]}
_[18]={text="to jump.",tags=_[20]}
_[17]={text="A ",tags=_[27]}
_[16]={text="Press ",tags=_[20]}
_[15]={text="ok",tags=_[26]}
_[14]={_[22],_[23],_[24],_[25]}
_[13]={_[21]}
_[12]={text="ok",tags=_[20]}
_[11]={_[19]}
_[10]={_[16],_[17],_[18]}
_[9]={_[15]}
_[8]={_[13],_[14]}
_[7]={_[12]}
_[6]={_[10],_[11]}
_[5]={"return"}
_[4]={"text",_[9]}
_[3]={"choice",_[8]}
_[2]={"text",_[7]}
_[1]={"choice",_[6]}
return {_[1],_[2],_[3],_[4],_[5]}
--[[
{ "choice", { { {
tags = <1>{},
text = "Press "
}, {
tags = { 1 },
text = "A "
}, {
tags = <table 1>,
text = "to jump."
} }, { {
tags = {},
text = "No"
} } } }
{ "text", { {
tags = {},
text = "ok"
} } }
{ "choice", { { {
tags = {},
text = "Other"
} }, { {
tags = <1>{},
text = "Use "
}, {
tags = { 1 },
text = "left "
}, {
tags = <table 1>,
text = "joystick"
}, {
tags = <table 1>,
text = " to move."
} } } }
{ "text", { {
tags = {},
text = "ok"
} } }
{ "return" }
]]--