SchnackInterpreter allows you to execute schnack-files which is a text format meant to control NPC dialogs.
@if count >= 1
Hallo nice to meet you!
@set count ++
retruns true if the condition is true
checks if the given condition has a valid var name
checks if the given var name is valid
returns a vector with all variables that are flagged as persistant
builds a var name considering the current script context.
Parses the script-file. The results will be handled with the listener. You should
NOTE: You can only parse one script at a time. It'll assert if there is already a script
executes a script from a string
call this after a selection
removes all variables that have map-scope.
removes all variables that have session-scope.
boolean true on success
SchnackVar the created object holding the value
Generated using TypeDoc