add trunks: mod support to the chainsaw

This commit is contained in:
Tim 2015-02-06 07:59:51 +01:00
parent a13e7b7ed1
commit 72d541a607

@ -148,6 +148,14 @@ if minetest.get_modpath("vines") then
end end
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 local S = technic.getter
technic.register_power_tool("technic:chainsaw", chainsaw_max_charge) technic.register_power_tool("technic:chainsaw", chainsaw_max_charge)