diff --git a/code/modules/random_map/automata/caves.dm b/code/modules/random_map/automata/caves.dm index 4868e6d068..e1f2092bdb 100644 --- a/code/modules/random_map/automata/caves.dm +++ b/code/modules/random_map/automata/caves.dm @@ -2,6 +2,10 @@ iterations = 5 descriptor = "moon caves" var/list/ore_turfs = list() + var/make_cracked_turfs = TRUE + +/datum/random_map/automata/cave_system/no_cracks + make_cracked_turfs = FALSE /datum/random_map/automata/cave_system/get_appropriate_path(var/value) return @@ -47,7 +51,7 @@ if(map[current_cell] == FLOOR_CHAR) if(prob(90)) T.make_floor() - else + else if(make_cracked_turfs) T.ChangeTurf(/turf/space/cracked_asteroid) else T.make_wall() diff --git a/maps/southern_cross/southern_cross_defines.dm b/maps/southern_cross/southern_cross_defines.dm index 36063692e7..e85b765c10 100644 --- a/maps/southern_cross/southern_cross_defines.dm +++ b/maps/southern_cross/southern_cross_defines.dm @@ -80,7 +80,7 @@ // If Space submaps are made, add a line to make them here as well. // Now for the tunnels. - new /datum/random_map/automata/cave_system(null, 1, 1, Z_LEVEL_SURFACE_MINE, world.maxx, world.maxy) // Create the mining Z-level. + new /datum/random_map/automata/cave_system/no_cracks(null, 1, 1, Z_LEVEL_SURFACE_MINE, world.maxx, world.maxy) // Create the mining Z-level. new /datum/random_map/noise/ore(null, 1, 1, Z_LEVEL_SURFACE_MINE, 64, 64) // Create the mining ore distribution map. // Todo: Forest generation. return 1