mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 15:05:14 +00:00
Make mushrooms more common
This commit is contained in:
parent
1ebc34da01
commit
122d6fc5fc
1 changed files with 27 additions and 4 deletions
|
@ -1652,24 +1652,47 @@ local function register_decorations()
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"mcl_core:mycelium"},
|
place_on = {"mcl_core:mycelium"},
|
||||||
sidelen = 80,
|
sidelen = 80,
|
||||||
fill_ratio = 0.003,
|
fill_ratio = 0.009,
|
||||||
biomes = {"mushroom"},
|
biomes = {"mushroom"},
|
||||||
|
noise_threshold = 2.0,
|
||||||
y_min = mcl_vars.mg_overworld_min,
|
y_min = mcl_vars.mg_overworld_min,
|
||||||
y_max = mcl_vars.mg_overworld_max,
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
decoration = "mcl_mushrooms:mushroom_red",
|
decoration = "mcl_mushrooms:mushroom_red",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"mcl_core:mycelium"},
|
place_on = {"mcl_core:mycelium"},
|
||||||
sidelen = 80,
|
sidelen = 80,
|
||||||
fill_ratio = 0.003,
|
fill_ratio = 0.009,
|
||||||
biomes = {"mushroom"},
|
biomes = {"mushroom"},
|
||||||
y_min = mcl_vars.mg_overworld_min,
|
y_min = mcl_vars.mg_overworld_min,
|
||||||
y_max = mcl_vars.mg_overworld_max,
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
decoration = "mcl_mushrooms:mushroom_brown",
|
decoration = "mcl_mushrooms:mushroom_brown",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Mushrooms in taigas
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"mcl_core:podzol"},
|
||||||
|
sidelen = 80,
|
||||||
|
fill_ratio = 0.003,
|
||||||
|
biomes = {"taiga", "mega_taiga"},
|
||||||
|
y_min = mcl_vars.mg_overworld_min,
|
||||||
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
|
decoration = "mcl_mushrooms:mushroom_red",
|
||||||
|
})
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"mcl_core:podzol"},
|
||||||
|
sidelen = 80,
|
||||||
|
fill_ratio = 0.003,
|
||||||
|
biomes = {"taiga", "mega_taiga"},
|
||||||
|
y_min = mcl_vars.mg_overworld_min,
|
||||||
|
y_max = mcl_vars.mg_overworld_max,
|
||||||
|
decoration = "mcl_mushrooms:mushroom_brown",
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
-- Mushrooms next to trees
|
-- Mushrooms next to trees
|
||||||
local mushrooms = {"mcl_mushrooms:mushroom_red", "mcl_mushrooms:mushroom_brown"}
|
local mushrooms = {"mcl_mushrooms:mushroom_red", "mcl_mushrooms:mushroom_brown"}
|
||||||
local mseeds = { 7133, 8244 }
|
local mseeds = { 7133, 8244 }
|
||||||
|
@ -1681,7 +1704,7 @@ local function register_decorations()
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = 0.006,
|
scale = 0.003,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = mseeds[m],
|
seed = mseeds[m],
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
|
Loading…
Reference in a new issue