-
Notifications
You must be signed in to change notification settings - Fork 1
Actions
Daedalus1400 edited this page May 15, 2017
·
2 revisions
All actions have the common argument "chance", which takes an integer value. It represents the inverse of the probability that the action will occur each second. In other words, the action has a 1 in X chance of occurring each second when the associated conditions are met, where X is the number specified.
Specifying 1 will mean that the action occurs every second that the conditions are met. Specifying 60 means that there is a 1 in 60 chance of the action occurring each second while conditions are met.
This argument allows multiple actions that have the same conditions to be consolidated into a single event, while maintaining independent execution of those actions.