Note: This section is more or less written based on my own knowledge. Feel free to suggest corrections in my talk page.
Event chance calculation
For a one-shot event that fires with a probability of checked at an interval of (e.g. tree growth), the expected amount of time it takes for the event to fire is .
Note that, in some definition tables in Minetest (e.g. ABMs), the probability is specified using the reciprocal of .
Calculations: Let be the probability of the event not firing at the next check.