summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/tools/chainsaw.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua
index 50aee2e..03e3833 100644
--- a/technic/tools/chainsaw.lua
+++ b/technic/tools/chainsaw.lua
@@ -148,6 +148,14 @@ if minetest.get_modpath("vines") then
end
end
+if minetest.get_modpath("trunks") then
+ if chainsaw_leaves then
+ timber_nodenames["trunks:moss"] = true
+ timber_nodenames["trunks:moss_fungus"] = true
+ timber_nodenames["trunks:treeroot"] = true
+ end
+end
+
local S = technic.getter
technic.register_power_tool("technic:chainsaw", chainsaw_max_charge)