1
0
Fork 0

Generate alliums in flower forest only

objects
Wuzzy 2017-09-09 00:22:59 +02:00
parent f61ecab98e
commit edf42043db
1 changed files with 20 additions and 18 deletions

View File

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