diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index afa91dc79a..b112beaf53 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -125,6 +125,7 @@ var/list/gamemode_cache = list() var/use_loyalty_implants = 0 var/welder_vision = 1 + var/generate_asteroid = 0 //Used for modifying movement speed for mobs. //Unversal modifiers @@ -309,6 +310,9 @@ var/list/gamemode_cache = list() if ("mentors") config.mods_are_mentors = 1 + if ("generate_asteroid") + config.generate_asteroid = 1 + if("allow_admin_ooccolor") config.allow_admin_ooccolor = 1 diff --git a/code/controllers/master_controller.dm b/code/controllers/master_controller.dm index 5e4813fe2d..facae60577 100644 --- a/code/controllers/master_controller.dm +++ b/code/controllers/master_controller.dm @@ -34,9 +34,6 @@ datum/controller/game_controller/New() datum/controller/game_controller/proc/setup() world.tick_lag = config.Ticklag - //Create the asteroid Z-level. - new /datum/random_map(null,13,32,5,217,223) - spawn(20) createRandomZlevel() diff --git a/code/world.dm b/code/world.dm index 8e5feb58a3..ae63acadb2 100644 --- a/code/world.dm +++ b/code/world.dm @@ -57,6 +57,10 @@ var/global/datum/global_init/init = new () // due to this list not being instantiated. plant_controller = new() + //Create the asteroid Z-level. + if(config.generate_asteroid) + new /datum/random_map(null,13,32,5,217,223) + // Create autolathe recipes, as above. populate_lathe_recipes()