Tweak huge mushroom spawning

This commit is contained in:
Wuzzy 2017-08-21 05:11:45 +02:00
parent 75cd407e8a
commit 37891e7f40

View file

@ -1356,6 +1356,19 @@ local function register_decorations()
--Huge Brown Mushroom --Huge Brown Mushroom
minetest.register_decoration({
deco_type = "schematic",
place_on = {"mcl_core:mycelium", "mcl_core:mycelium_snow"},
sidelen = 80,
fill_ratio = 0.0001,
biomes = { "deciduous_forest" },
y_min = mcl_vars.mg_overworld_min,
y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_brown.mts",
flags = "place_center_x",
rotation = "random",
})
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"mcl_core:mycelium", "mcl_core:mycelium_snow"}, place_on = {"mcl_core:mycelium", "mcl_core:mycelium_snow"},
@ -1374,8 +1387,21 @@ local function register_decorations()
deco_type = "schematic", deco_type = "schematic",
place_on = { "mcl_core:dirt_with_grass"}, place_on = { "mcl_core:dirt_with_grass"},
sidelen = 50, sidelen = 50,
fill_ratio = 0.0002, fill_ratio = 0.0001,
biomes = { "deciduous_forest"}, biomes = { "deciduous_forest" },
y_min = mcl_vars.mg_overworld_min,
y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_red.mts",
flags = "place_center_x",
rotation = "random",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = { "mcl_core:mycelium", "mcl_core:mycelium_snow" },
sidelen = 50,
fill_ratio = 0.002,
biomes = { "mushroom", "mushroom_cold" },
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,
schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_red.mts", schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_red.mts",