From 72d541a6079c3b84db4e0b70e9d2264e59878565 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 6 Feb 2015 07:59:51 +0100 Subject: [PATCH] add trunks: mod support to the chainsaw --- technic/tools/chainsaw.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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)