0
0
Fork 0

Merge pull request 'Update dead bush generation' (#3725) from dead_bush_mapgen into master

Reviewed-on: MineClone2/MineClone2#3725
Reviewed-by: Nicu <kneekoo@noreply.git.minetest.land>
This commit is contained in:
ancientmarinerdev 2023-05-16 23:16:21 +00:00
commit d6192dda67
1 changed files with 46 additions and 10 deletions

View File

@ -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,