event_meta
Vars | |
enabled | Whether or not the event is available for random selection at all. |
---|---|
max_weight | The maximum weight that this event will have. |
min_weight | The minimum weight that this event will have. Only used if non-zero. |
one_shot | If true, then the event will not be re-added to the list of available events |
role_weights | A list of roles that add weight to the event |
severity | the current severity of this event |
weight | The base weight of this event. A zero means it may never fire, but see get_weight() |
weight_mod | A modifier applied to all event weights (role and base), respects min and max |
Var Details
enabled
Whether or not the event is available for random selection at all.
max_weight
The maximum weight that this event will have.
min_weight
The minimum weight that this event will have. Only used if non-zero.
one_shot
If true, then the event will not be re-added to the list of available events
role_weights
A list of roles that add weight to the event
severity
the current severity of this event
weight
The base weight of this event. A zero means it may never fire, but see get_weight()
weight_mod
A modifier applied to all event weights (role and base), respects min and max