vn/data/test.vns

41 lines
708 B
Plaintext

// This just experiments with the scripting language
var times = 0
proc "Start"
{
"so, I actually changed my mind."
"the editor will not be node based"
"I realised that it would just be slower to write dialog that way soooo..."
"instead, I present to you the.........."
"vn scene - scripting language"
"btw something happens if you go through this dialog 10 times"
times += 1
branch
{
"Return to start"
{
jump "Start"
}
if(times >= 10)
{
"SUPER EPIC SECRET"
{
jump "Epic Scene"
}
}
}
}
proc "Epic Scene"
{
"woah... so epic"
@s "oh, right. almost forgot to mention that you can talk as different characters."
@s "you know... "
wait
@s #noclear "the usual"
}