made leaves depend on the trunks they spawn with to avoid decaying
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Tue, 12 Feb 2013 03:07:40 +0000 (22:07 -0500)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Tue, 12 Feb 2013 03:07:40 +0000 (22:07 -0500)
commit6da6bda95e57ebf217b943fd134823d95a6e6465
tree53a2a3948108747b3f0fb4ba65f2492932cf99b8
parenta0af3f26de0028e832eac202d3fd9ce93d68f65d
made leaves depend on the trunks they spawn with to avoid decaying

rather than just any trunk being enough to stop just any leaves from decaying.
Re-tuned the leaf decay interval/chance values accordingly.  Changed a few
variables to avoid possible conflicts.  Added a setting to allow one to disable
the new leaf decay code.  Moved sapling growth code into its own file.  Minor
changes to comments here and there.  Got rid of simple trees list (made the
code do various checks in realtime instead, since it's just startup code
anyway).  Fixed messed-up crafting for jungle trees; condensed most of the
crafting code into main craft registry loop.  Mostly fixed broken aliases of
default jungletrees.
crafts.lua
init.lua
leafdecay.lua
node_defs.lua
saplings.lua [new file with mode: 0644]
settings.lua