1
0
Fork 0

Add MesaBryce biome

This commit is contained in:
Wuzzy 2019-03-11 21:42:30 +01:00
parent 0b9e25fd9a
commit ae513f7b53
1 changed files with 51 additions and 3 deletions

View File

@ -62,7 +62,6 @@ local function register_biomes()
Intentionally missing biomes: Intentionally missing biomes:
* River (generated by valleys and v7) * River (generated by valleys and v7)
* Frozen River (generated by valleys and v7) * Frozen River (generated by valleys and v7)
* Mesa Bryce (oddities of terrain generator might generate this by chance, esp. v7)
* Hills biomes (shape only) * Hills biomes (shape only)
* Plateau (shape only) * Plateau (shape only)
* Plateau M (shape only) * Plateau M (shape only)
@ -109,6 +108,7 @@ local function register_biomes()
"Savanna", "Savanna",
"SavannaM", "SavannaM",
"Mesa", "Mesa",
"MesaBryce",
"MesaPlateauF", "MesaPlateauF",
"MesaPlateauFM", "MesaPlateauFM",
} }
@ -793,6 +793,52 @@ local function register_biomes()
heat_point = 100, heat_point = 100,
}) })
-- Mesa Bryce: Variant of Mesa, but without the red sand desert
minetest.register_biome({
name = "MesaBryce",
node_top = "mcl_colorblocks:hardened_clay",
depth_top = 1,
node_filler = "mcl_colorblocks:hardened_clay",
node_riverbed = "mcl_colorblocks:hardened_clay",
depth_riverbed = 1,
node_stone = "mcl_colorblocks:hardened_clay",
y_min = 0,
y_max = mcl_vars.mg_overworld_max,
humidity_point = -4,
heat_point = 100,
})
-- Helper biome for the red sand at the bottom of Mesas.
minetest.register_biome({
name = "MesaBryce_sandlevel",
node_top = "mcl_core:redsand",
depth_top = 1,
node_filler = "mcl_colorblocks:hardened_clay_orange",
depth_filler = 3,
node_riverbed = "mcl_colorblocks:hardned_clay",
depth_riverbed = 1,
node_stone = "mcl_colorblocks:hardened_clay_orange",
y_min = -4,
y_max = -1,
humidity_point = -4,
heat_point = 100,
})
minetest.register_biome({
name = "MesaBryce_ocean",
node_top = "mcl_core:sand",
depth_top = 3,
node_filler = "mcl_core:sand",
depth_filler = 2,
node_riverbed = "mcl_core:sand",
depth_riverbed = 2,
y_min = OCEAN_MIN,
y_max = -5,
vertical_blend = 1,
humidity_point = -4,
heat_point = 100,
})
-- Mesa Plateau F -- Mesa Plateau F
-- Identical to Mesa below Y=30. At Y=30 and above there is an oak forest -- Identical to Mesa below Y=30. At Y=30 and above there is an oak forest
minetest.register_biome({ minetest.register_biome({
@ -1344,6 +1390,7 @@ local function register_biome_ores()
y_min = mcl_worlds.layer_to_y(32), y_min = mcl_worlds.layer_to_y(32),
y_max = mcl_worlds.layer_to_y(79), y_max = mcl_worlds.layer_to_y(79),
biomes = { "Mesa", "Mesa_sandlevel", "Mesa_ocean", biomes = { "Mesa", "Mesa_sandlevel", "Mesa_ocean",
"MesaBryce", "MesaBryce_sandlevel", "MesaBryce_ocean",
"MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_ocean", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_ocean",
"MesaPlateauFM", "MesaPlateauFM_sandlevel", "MesaPlateauFM_ocean", }, "MesaPlateauFM", "MesaPlateauFM_sandlevel", "MesaPlateauFM_ocean", },
}) })
@ -1484,6 +1531,7 @@ local function register_biomelike_ores()
stratum_thickness = 8, stratum_thickness = 8,
biomes = { biomes = {
"Mesa_sandlevel", "Mesa_ocean", "Mesa_sandlevel", "Mesa_ocean",
"MesaBryce_sandlevel", "MesaBryce_ocean",
"MesaPlateauF_sandlevel", "MesaPlateauF_ocean", "MesaPlateauF_sandlevel", "MesaPlateauF_ocean",
"MesaPlateauFM_sandlevel", "MesaPlateauFM_ocean", "MesaPlateauFM_sandlevel", "MesaPlateauFM_ocean",
}, },
@ -1510,7 +1558,7 @@ local function register_biomelike_ores()
wherein = {"mcl_colorblocks:hardened_clay"}, wherein = {"mcl_colorblocks:hardened_clay"},
y_min = y_min, y_min = y_min,
y_max = y_max, y_max = y_max,
biomes = { "Mesa", "MesaPlateauF" }, biomes = { "Mesa", "MesaPlateauF", "MesaBryce" },
}) })
-- Eroded stratum -- Eroded stratum
minetest.register_ore({ minetest.register_ore({
@ -3262,7 +3310,7 @@ local function register_decorations()
}, },
y_min = 4, y_min = 4,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
biomes = {"Desert", "Mesa", "Mesa_sandlevel", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_grasstop", "Taiga", "MegaTaiga"}, biomes = {"Desert", "Mesa", "Mesa_sandlevel", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_grasstop","MesaBryce","Taiga", "MegaTaiga"},
decoration = "mcl_core:deadbush", decoration = "mcl_core:deadbush",
height = 1, height = 1,
}) })