Commit Graph

12 Commits

Author SHA1 Message Date
Vanessa Dannenberg
acb534d8d0 fix derps in tables 2019-05-22 21:05:04 -04:00
Vanessa Dannenberg
f45ffc09bf Use a "set" for surface list rather than a plain table
(requires biome_lib from commit a96f015c or later)
2019-05-22 20:03:15 -04:00
Vanessa Dannenberg
e912fba6c8 tweak on-gen to be faster still 2019-05-22 19:16:30 -04:00
Vanessa Dannenberg
7161cfbdee rework how sapling growth is defined
if on-gen, saplings grow per their biome_defs.lua settings
if placed, they grow on the surfaces given in the tables:

* anything but palms will grow on the dirt surfaces
* conifers can also grow on a cold surface, but other trees will not
* only palms can grow on sand, but they will not grow on dirt or cold
2019-05-22 19:09:41 -04:00
Vanessa Dannenberg
e474194daf speed up sapling growth.
they're just too damned slow

also sped up the on_gen ones
they were slower than they needed to be
2019-05-22 18:41:03 -04:00
Vanessa Dannenberg
109b2009fb don't register grow actions for "ongen" saplings
if moretrees is not in spawn-saplings mode.
2018-10-25 11:59:44 -04:00
Vanessa Ezekowitz
8e0eeb5747 fix sapling growth
(biome_lib requires "foo.bar" when using "quoted string" function calls)
2015-08-21 15:31:05 -04:00
Vanessa Ezekowitz
2ae8a32aa3 Use default nodes wherever possible
for pines, jungle trees/leaves, acacias
2015-08-14 13:16:51 -04:00
Vanessa Ezekowitz
10ce68961f update to match the renaming of plants_lib --> biome_lib 2015-08-09 10:34:53 -04:00
Vanessa Ezekowitz
5a27405fad forgot to update sapling_ongen spawn chance/interval of some trees. 2013-09-15 01:56:30 -04:00
Vanessa Ezekowitz
fad79d86b7 add option to spawn saplings instead of fully-grown trees at mapgen
time.  Such saplings will grow very quickly into a tree, compared to a
planted sapling.  Defaults to spawning saplings.

add custom jungle tree sapling, alias default one to that, so that
moretrees will be able to grow its own jungle trees.

fix tree density bug
2013-09-14 22:44:32 -04:00
Vanessa Ezekowitz
6da6bda95e 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.
2013-02-11 22:07:40 -05:00