summaryrefslogtreecommitdiff
path: root/nature_classic/blossom.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nature_classic/blossom.lua')
-rw-r--r--nature_classic/blossom.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/nature_classic/blossom.lua b/nature_classic/blossom.lua
index 62947b5..646a06e 100644
--- a/nature_classic/blossom.lua
+++ b/nature_classic/blossom.lua
@@ -16,11 +16,17 @@ minetest.register_node(":"..nature.blossom_node, {
drawtype = "allfaces_optional",
tiles = nature.blossom_textures,
paramtype = "light",
- groups = { snappy = 3, leafdecay = 3, flammable = 2, leafdecay = 3 },
+ groups = nature.blossom_groups,
sounds = default.node_sound_leaves_defaults(),
waving = 1
})
+default.register_leafdecay({
+ trunks = { nature.blossom_trunk },
+ leaves = { nature.blossom_node },
+ radius = nature.blossom_decay,
+})
+
minetest.register_craft({
type = "fuel",
recipe = nature.blossom_node,