Add config for station traits (#72408)

Adds a config for station traits. Extremely annoyed of testing locally
and having all the lights break or spawning in the shuttle puking or
whatever.
This commit is contained in:
Mothblocks
2023-01-02 01:05:34 -08:00
committed by GitHub
parent 72a48c4bb0
commit c2a3ba8b75
3 changed files with 8 additions and 0 deletions
@@ -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)