# Actions

Actions are mutations to the novel. They can be triggered by objectives and items.

# Types of mutations

  • Add children scenes: Dynamically add scene nodes. Recommended for story branching.
  • Suggest advance scene: Recommend a scene to the player. Useful for guiding the story progression.
  • Add item: Add an item to the inventory.
  • Remove item: Remove an item from the inventory.
  • Set variable: Change the value of a variable stored in a variable bank.

# Setting variables

When modifying a variable value, there are multiple operators you can use.

All the variable types, number, string and boolean, share the SET operator, which replaces the variable's value.

Number variables have more math operators, such as addition, multiplication and division.