Tim
2015-02-06 72d541a6079c3b84db4e0b70e9d2264e59878565
add trunks: mod support to the chainsaw
1 files modified
8 ■■■■■ changed files
technic/tools/chainsaw.lua 8 ●●●●● patch | view | raw | blame | history
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)