Events
Vars | |
control | list of all datum/round_event_control. Used for selecting events based on weight and occurrences. |
---|---|
frequency_lower | Lower bound for how frequently events will occur |
frequency_upper | the latest an event can happen after a previous event |
running | list of all existing /datum/round_event |
scheduled | The next world.time that a naturally occuring random event can be selected. |
Procs | |
check_event | checks if we should select a random event yet, and reschedules if necessary |
reschedule | decides which world.time we should select another random event at. |
spawn_event | selects a random event based on whether it can occur and it's 'weight'(probability) |
Var Details
control
list of all datum/round_event_control. Used for selecting events based on weight and occurrences.
frequency_lower
Lower bound for how frequently events will occur
frequency_upper
the latest an event can happen after a previous event
running
list of all existing /datum/round_event
scheduled
The next world.time that a naturally occuring random event can be selected.
Proc Details
check_event
checks if we should select a random event yet, and reschedules if necessary
reschedule
decides which world.time we should select another random event at.
spawn_event
selects a random event based on whether it can occur and it's 'weight'(probability)