Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Illuna-Minetest/farming
1 result
Show changes
Commits on Source (1)
...@@ -69,8 +69,14 @@ minetest.register_node("farming:banana", { ...@@ -69,8 +69,14 @@ minetest.register_node("farming:banana", {
on_use = minetest.item_eat(6), on_use = minetest.item_eat(6),
}) })
-- to note is default:leaves here as this
-- leafdecay registration conflicts with
-- default trees because we have the
-- default:tree in here - this makes
-- the regular trees not decay anymore.
default.register_leafdecay({ default.register_leafdecay({
trunks = {"default:tree"}, trunks = {"default:tree"},
leaves = {"farming:banana_leaves"}, leaves = {"farming:banana_leaves", "default:leaves"},
radius = 3 radius = 3
}) })