mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Generate alliums in flower forest only
This commit is contained in:
parent
f61ecab98e
commit
edf42043db
@ -2417,6 +2417,7 @@ local function register_decorations()
|
||||
if is_in_flower_forest == nil then
|
||||
is_in_flower_forest = true
|
||||
end
|
||||
if biomes then
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"},
|
||||
@ -2434,6 +2435,7 @@ local function register_decorations()
|
||||
biomes = biomes,
|
||||
decoration = "mcl_flowers:"..name,
|
||||
})
|
||||
end
|
||||
if is_in_flower_forest then
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
@ -2468,7 +2470,7 @@ local function register_decorations()
|
||||
register_flower("azure_bluet", flower_biomes2, 800)
|
||||
register_flower("oxeye_daisy", flower_biomes2, 3490)
|
||||
|
||||
register_flower("allium", {}, 0) -- flower forest only
|
||||
register_flower("allium", nil, 0) -- flower forest only
|
||||
register_flower("blue_orchid", {"swampland"}, 64500, false)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user