/datum/event_group
Vars | |
cooldown_time | If set, whenever an event in this group runs, no other events in this group will be able to run for the specified amount of time. Can be either a number for a static cooldown, or a list containing 2 numbers, for a random cooldown between the given numbers, which will bias towards the upper bound the more the event group has occured. |
---|---|
event_cooldown | If [cooldown_time] is set, this will be set to the minimum world.time where the next event in this group can run. |
max_occurrences | If set, this will limit the amount of times events in this group can run. |
name | The name of the event group. |
occurrences | The amount of time events in this group have ran. |
Var Details
cooldown_time
If set, whenever an event in this group runs, no other events in this group will be able to run for the specified amount of time. Can be either a number for a static cooldown, or a list containing 2 numbers, for a random cooldown between the given numbers, which will bias towards the upper bound the more the event group has occured.
event_cooldown
If [cooldown_time] is set, this will be set to the minimum world.time where the next event in this group can run.
max_occurrences
If set, this will limit the amount of times events in this group can run.
name
The name of the event group.
occurrences
The amount of time events in this group have ran.