Actions
When you want to customize what something in leaf does, or what leaf runs after a player performs an action, you may see a dialog to edit the actions. There are some things in this dialog that isnt fully explained ingame.
Legacy Actions
This is still a very common action type in Leaf, despite its name. It occurs when the action is just a command. Unlike modern actions, they cannot have any extra metadata configured to them. They cannot be created under normal circumstances. They are just commands.
Actions
Unlike legacy actions, these can have metadata attached (though it isnt currently used) and they generally have better compatibility with things
Action Groups
This is where a bulk of the logic occurs. They have multiple options:
Label
This is just a visual label for the action editor, to help you distinguish between the groups
Condition
This is a condition, please read Conditions for more information.
Stop Execution
This is where order matters a lot, if the condition in the group is true, NOTHING ordered after the group will run, including other groups
Wait time
Wait time (in seconds). Will only run the action after this time is up, and requires the player to not be moving or else it wont run.
Wait time format
A leaf formatting string with 1 extra variable: <r>, meaning time Remaining. (in seconds)