mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user