event_meta ![code/modules/events/event.dm 1](git.png)
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 ![code/modules/events/event.dm 4](git.png)
Whether or not the event is available for random selection at all.
max_weight ![code/modules/events/event.dm 10](git.png)
The maximum weight that this event will have.
min_weight ![code/modules/events/event.dm 8](git.png)
The minimum weight that this event will have. Only used if non-zero.
one_shot ![code/modules/events/event.dm 14](git.png)
If true, then the event will not be re-added to the list of available events
role_weights ![code/modules/events/event.dm 18](git.png)
A list of roles that add weight to the event
severity ![code/modules/events/event.dm 12](git.png)
the current severity of this event
weight ![code/modules/events/event.dm 6](git.png)
The base weight of this event. A zero means it may never fire, but see get_weight()
weight_mod ![code/modules/events/event.dm 16](git.png)
A modifier applied to all event weights (role and base), respects min and max