Update dead bush generation

Removed Taiga biome and changed the generation values
This commit is contained in:
PrairieWind 2023-05-12 15:54:42 -06:00 committed by ancientmarinerdev
parent 11b371a107
commit e2963f88a7

@ -5391,11 +5391,11 @@ local function register_decorations()
-- Dead bushes -- Dead bushes
minetest.register_decoration({ minetest.register_decoration({
deco_type = "simple", deco_type = "simple",
place_on = {"group:sand", "mcl_core:podzol", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt", "group:hardened_clay"}, place_on = {"mcl_core:podzol", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt", "group:hardened_clay"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = 0.0, offset = 0.01,
scale = 0.035, scale = 0.003,
spread = {x = 100, y = 100, z = 100}, spread = {x = 100, y = 100, z = 100},
seed = 1972, seed = 1972,
octaves = 3, octaves = 3,
@ -5403,7 +5403,43 @@ 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", "MesaBryce", "Taiga", "MegaTaiga"}, biomes = {"MegaSpruceTaiga", "MegaTaiga"},
decoration = "mcl_core:deadbush",
height = 1,
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"group:sand", "group:hardened_clay"},
sidelen = 16,
noise_params = {
offset = 0.01,
scale = 0.006,
spread = {x = 100, y = 100, z = 100},
seed = 1972,
octaves = 3,
persist = 0.6
},
y_min = 4,
y_max = mcl_vars.mg_overworld_max,
biomes = {"Desert"},
decoration = "mcl_core:deadbush",
height = 1,
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"group:sand", "mcl_core:podzol", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt", "group:hardened_clay"},
sidelen = 16,
noise_params = {
offset = 0.01,
scale = 0.06,
spread = {x = 100, y = 100, z = 100},
seed = 1972,
octaves = 3,
persist = 0.6
},
y_min = 4,
y_max = mcl_vars.mg_overworld_max,
biomes = {"Mesa", "Mesa_sandlevel", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_grasstop", "MesaBryce"},
decoration = "mcl_core:deadbush", decoration = "mcl_core:deadbush",
height = 1, height = 1,
}) })
@ -5412,8 +5448,8 @@ local function register_decorations()
place_on = {"group:sand", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"}, place_on = {"group:sand", "mcl_core:dirt", "mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = 0.1, offset = 0.01,
scale = 0.035, scale = 0.06,
spread = {x = 100, y = 100, z = 100}, spread = {x = 100, y = 100, z = 100},
seed = 1972, seed = 1972,
octaves = 3, octaves = 3,
@ -5430,8 +5466,8 @@ local function register_decorations()
place_on = {"group:sand"}, place_on = {"group:sand"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = 0.045, offset = 0.01,
scale = 0.055, scale = 0.06,
spread = {x = 100, y = 100, z = 100}, spread = {x = 100, y = 100, z = 100},
seed = 1972, seed = 1972,
octaves = 3, octaves = 3,
@ -5448,8 +5484,8 @@ local function register_decorations()
place_on = {"group:hardened_clay"}, place_on = {"group:hardened_clay"},
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = 0.010, offset = 0.01,
scale = 0.035, scale = 0.06,
spread = {x = 100, y = 100, z = 100}, spread = {x = 100, y = 100, z = 100},
seed = 1972, seed = 1972,
octaves = 3, octaves = 3,