Add support for new trees in minetest game

This commit is contained in:
NathanSalapat 2016-03-13 15:16:51 -05:00 committed by ShadowNinja
parent 0c144cd75c
commit 584cd82b58

@ -9,15 +9,19 @@ local chainsaw_leaves = true
-- The default trees
local timber_nodenames = {
["default:acacia_tree"] = true,
["default:aspen_tree"] = true,
["default:jungletree"] = true,
["default:papyrus"] = true,
["default:cactus"] = true,
["default:tree"] = true,
["default:apple"] = true,
["default:pinetree"] = 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