added support for new trees in default game.

This commit is contained in:
NathanSalapat 2016-03-13 15:16:51 -05:00
parent c5127f4b1b
commit bc78a9a684

View File

@ -9,15 +9,19 @@ local chainsaw_leaves = true
-- The default trees -- The default trees
local timber_nodenames = { local timber_nodenames = {
["default:acacia_tree"] = true,
["default:aspen_tree"] = true,
["default:jungletree"] = true, ["default:jungletree"] = true,
["default:papyrus"] = true, ["default:papyrus"] = true,
["default:cactus"] = true, ["default:cactus"] = true,
["default:tree"] = true, ["default:tree"] = true,
["default:apple"] = true, ["default:apple"] = true,
["default:pinetree"] = true, ["default:pine_tree"] = true,
} }
if chainsaw_leaves then if chainsaw_leaves then
timber_nodenames["default:acacia_leaves"] = true
timber_nodenames["default:aspen_leaves"] = true
timber_nodenames["default:leaves"] = true timber_nodenames["default:leaves"] = true
timber_nodenames["default:jungleleaves"] = true timber_nodenames["default:jungleleaves"] = true
timber_nodenames["default:pine_needles"] = true timber_nodenames["default:pine_needles"] = true