From 72d541a6079c3b84db4e0b70e9d2264e59878565 Mon Sep 17 00:00:00 2001 From: Tim <t4im@users.noreply.github.com> Date: Fri, 06 Feb 2015 07:59:51 +0100 Subject: [PATCH] add trunks: mod support to the chainsaw --- technic/tools/chainsaw.lua | 8 ++++++++ 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 @@ 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) -- Gitblit v1.8.0