diff --git a/code/controllers/configuration/entries/game_options.dm b/code/controllers/configuration/entries/game_options.dm index e303763c44c..e822a4d88e3 100644 --- a/code/controllers/configuration/entries/game_options.dm +++ b/code/controllers/configuration/entries/game_options.dm @@ -339,6 +339,8 @@ /datum/config_entry/flag/allow_random_events // Enables random events mid-round when set +/datum/config_entry/flag/forbid_station_traits + /datum/config_entry/number/events_min_time_mul // Multipliers for random events minimal starting time and minimal players amounts default = 1 min_val = 0 diff --git a/code/controllers/subsystem/processing/station.dm b/code/controllers/subsystem/processing/station.dm index 20660babcd3..7971e78c7a7 100644 --- a/code/controllers/subsystem/processing/station.dm +++ b/code/controllers/subsystem/processing/station.dm @@ -26,6 +26,9 @@ PROCESSING_SUBSYSTEM_DEF(station) ///Rolls for the amount of traits and adds them to the traits list /datum/controller/subsystem/processing/station/proc/SetupTraits() + if (CONFIG_GET(flag/forbid_station_traits)) + return + if (fexists(FUTURE_STATION_TRAITS_FILE)) var/forced_traits_contents = file2text(FUTURE_STATION_TRAITS_FILE) fdel(FUTURE_STATION_TRAITS_FILE) diff --git a/config/game_options.txt b/config/game_options.txt index 99c32a731a9..27dd8e41120 100644 --- a/config/game_options.txt +++ b/config/game_options.txt @@ -135,6 +135,9 @@ DYNAMIC_CONFIG_ENABLED ## Comment this out to disable random events during the round. ALLOW_RANDOM_EVENTS +## Uncomment this to disable station traits. +#FORBID_STATION_TRAITS + ## Multiplier for earliest start time of dangerous events. ## Set to 0 to make dangerous events avaliable from round start. EVENTS_MIN_TIME_MUL 1