diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 6bfa3325e..e065f619c 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -85,9 +85,7 @@ local function register_biomes() ]] - local DEEP_OCEAN_MAX = -11 - local DEEP_OCEAN_MIN = -32 -- Careful when changing this. You might end up caves covered in gravel around Y=32! - local OCEAN_MIN = DEEP_OCEAN_MAX+1 + local OCEAN_MIN = mcl_vars.mg_overworld_min -- Ice Plains Spikes (rare) minetest.register_biome({ @@ -1114,30 +1112,6 @@ local function register_biomes() heat_point = 50, }) - -- Deep Ocean - -- Special biome below all other ocean biomes, used for generating gravel - minetest.register_biome({ - name = "DeepOcean", - node_top = "mcl_core:gravel", - depth_top = 2, - node_filler = "mcl_core:gravel", - depth_filler = 2, - node_riverbed = "mcl_core:gravel", - depth_riverbed = 2, - y_min = DEEP_OCEAN_MIN, - y_max = DEEP_OCEAN_MAX, - heat_point = 50, - humidity_point = 50, - }) - - -- Underground biome, to prevent ocean floor materials “leaking” into the underground. - minetest.register_biome({ - name = "underground", - y_min = mcl_vars.mg_overworld_min, - y_max = DEEP_OCEAN_MIN-1, - heat_point = 50, - humidity_point = 50, - }) end -- Register biomes of non-Overworld biomes