Remove Deep Ocean and underground biomes

This commit is contained in:
Wuzzy 2017-09-13 04:58:53 +02:00
parent b09e757a03
commit 3107812ddb

View File

@ -85,9 +85,7 @@ local function register_biomes()
]] ]]
local DEEP_OCEAN_MAX = -11 local OCEAN_MIN = mcl_vars.mg_overworld_min
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
-- Ice Plains Spikes (rare) -- Ice Plains Spikes (rare)
minetest.register_biome({ minetest.register_biome({
@ -1114,30 +1112,6 @@ local function register_biomes()
heat_point = 50, 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 end
-- Register biomes of non-Overworld biomes -- Register biomes of non-Overworld biomes