Removes Cracked Asteroids from Sif Mountains

Hackfix but it works fairly well.
This commit is contained in:
Neerti
2017-11-26 03:57:56 -05:00
parent 7d0b3ffd20
commit 3dfa7edb34
2 changed files with 6 additions and 2 deletions

View File

@@ -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()

View File

@@ -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