args - {
next: _=>{}, // function
choices: [
{
name: "choice1",
condition: _=> {}, // if statement (not required)
do: _=> {} // function
},
{
name: "choice2", do: _=> {}
}
],
continue: _=>{} // function
}
continue
allows you to merge branches after choices.
To exit from branch you need to call function return_to()
and you will go to continue
.
Sets background image to canvas.
Adds a new person to the scene. (if this person already exists, it will be replaced by the person's image)
Id is a simply unique identifier for the person.
Percentage of completion of this chapter. Changes the progress value in the main menu