mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-17 07:10:29 +02:00
fix broken leafdecay on apple blossoms
This commit is contained in:
@ -9,14 +9,20 @@ nature = {}
|
||||
nature.blossomqueue = {}
|
||||
nature.blossomqueue_max = 1000
|
||||
|
||||
nature.blossom_decay = 2
|
||||
nature.blossom_trunk = "default:tree"
|
||||
nature.blossom_node = "nature:blossom"
|
||||
nature.blossom_leaves = "default:leaves"
|
||||
nature.blossom_textures = { "default_leaves.png^nature_blossom.png" }
|
||||
nature.blossom_groups = { snappy = 3, leafdecay = 1, leaves = 1, flammable = 2 }
|
||||
|
||||
if minetest.get_modpath("moretrees") then
|
||||
nature.blossom_decay = moretrees.leafdecay_radius
|
||||
nature.blossom_trunk = "moretrees:apple_tree_trunk"
|
||||
nature.blossom_node = "moretrees:apple_blossoms"
|
||||
nature.blossom_leaves = "moretrees:apple_tree_leaves"
|
||||
nature.blossom_textures = { "moretrees_apple_tree_leaves.png^nature_blossom.png" }
|
||||
nature.blossom_groups = { snappy = 3, leafdecay = 1, leaves = 1, flammable = 2, moretrees_leaves = 1 },
|
||||
minetest.register_alias("nature:blossom", "default:leaves")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user