diff options
author | NathanSalapat <rendertracer@gmail.com> | 2016-03-13 15:16:51 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2016-03-20 13:30:18 -0400 |
commit | 584cd82b5869d3e7310c5cf7900ea28764b3cf31 (patch) | |
tree | fcc0ecc5fecfb4e78dc885ebad2fbe95ba093549 | |
parent | 0c144cd75c638f1f1c67ae91973f3ff8ffc781dd (diff) |
Add support for new trees in minetest game
-rw-r--r-- | technic/tools/chainsaw.lua | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/technic/tools/chainsaw.lua b/technic/tools/chainsaw.lua index bf4efff..3653d2d 100644 --- a/technic/tools/chainsaw.lua +++ b/technic/tools/chainsaw.lua @@ -9,15 +9,19 @@ local chainsaw_leaves = true -- The default trees local timber_nodenames = { - ["default:jungletree"] = true, - ["default:papyrus"] = true, - ["default:cactus"] = true, - ["default:tree"] = true, - ["default:apple"] = true, - ["default:pinetree"] = true, + ["default:acacia_tree"] = true, + ["default:aspen_tree"] = true, + ["default:jungletree"] = true, + ["default:papyrus"] = true, + ["default:cactus"] = true, + ["default:tree"] = true, + ["default:apple"] = true, + ["default:pine_tree"] = true, } if chainsaw_leaves then + timber_nodenames["default:acacia_leaves"] = true + timber_nodenames["default:aspen_leaves"] = true timber_nodenames["default:leaves"] = true timber_nodenames["default:jungleleaves"] = true timber_nodenames["default:pine_needles"] = true |