From 3107812ddba6e3338aaa8b3a6c0a94eabe3bf3aa Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 13 Sep 2017 04:58:53 +0200 Subject: [PATCH] Remove Deep Ocean and underground biomes --- mods/MAPGEN/mcl_biomes/init.lua | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 6bfa3325e4..e065f619c2 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