Blob Split Population Requirement (#29985)

* population limit

* config file update

* Update event_configuration.dm

* Update event_configuration.dm

* Update code/controllers/configuration/sections/event_configuration.dm

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com>

---------

Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
Kyani
2025-08-19 17:43:52 +00:00
committed by GitHub
co-authored by AffectedArc07
parent 1d068fe25c
commit 65eed9df33
3 changed files with 7 additions and 1 deletions
@@ -24,6 +24,9 @@
/// Expected time of a round in deciseconds
var/expected_round_length = 120 MINUTES // This macro is equivilent to 72,000 deciseconds
/// the population needed to allow blobs to split consciousness
var/blob_highpop_trigger = 60
/datum/configuration_section/event_configuration/load_data(list/data)
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
CONFIG_LOAD_BOOL(enable_random_events, data["allow_random_events"])
@@ -58,4 +61,5 @@
ASSERT(target in list(EVENT_LEVEL_MUNDANE, EVENT_LEVEL_MODERATE, EVENT_LEVEL_MAJOR))
first_run_times[target] = list("lower" = assoclist["lower_bound"] MINUTES, "upper" = assoclist["upper_bound"] MINUTES)
CONFIG_LOAD_NUM(blob_highpop_trigger, data["blob_highpop_trigger"])