Remove Deep Ocean and underground biomes
This commit is contained in:
parent
b09e757a03
commit
3107812ddb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user