summaryrefslogtreecommitdiff
path: root/node_defs.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-11 00:27:58 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-11 00:27:58 -0500
commitc745c613af79bcc216144ef50dc310169a60be4a (patch)
tree05b309eb12a55ce4d5697fa4732ddb986c63b3d9 /node_defs.lua
parent966c5fc4b0c76408bc5c83e1b03bd175732485f8 (diff)
tuned leaf decay somewhat - palms need a separate ABM because they have such
wide leaves.
Diffstat (limited to 'node_defs.lua')
-rw-r--r--node_defs.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/node_defs.lua b/node_defs.lua
index c832b6d..a69fe53 100644
--- a/node_defs.lua
+++ b/node_defs.lua
@@ -134,8 +134,11 @@ for i in ipairs(trees) do
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_trunk")
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_leaves")
- table.insert(moretrees.leaves_list, "moretrees:"..treename.."_leaves")
table.insert(moretrees.trunks_list, "moretrees:"..treename.."_trunk")
+ if treename ~= "palm" then
+ table.insert(moretrees.leaves_list, "moretrees:"..treename.."_leaves")
+ end
+
end
-- Extra leaves for jungle trees: