Space Station 13 - Modules - TypesVar Details

event_meta

Vars

enabledWhether or not the event is available for random selection at all.
max_weightThe maximum weight that this event will have.
min_weightThe minimum weight that this event will have. Only used if non-zero.
one_shotIf true, then the event will not be re-added to the list of available events
role_weightsA list of roles that add weight to the event
severitythe current severity of this event
weightThe base weight of this event. A zero means it may never fire, but see get_weight()
weight_modA 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