mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Moves asteroid generation prior to geometry initialization. Adds config for asteroid generation.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user