deleting nodes surrounding the spawn target during the mapgen code, replacing
the spawn target, and checking the type of node directly below the spawn
target.
and to allow the spawned object to *replace* the node it would otherwise
spawn on top of.
Also, extended API to allow for a node to be directly named in the
register_generate_plant() call.
calling options. This opens the door for even more features in the future.
Changed flowers, junglegrass, poisonivy to match.
Made plants lib faster in some places, especially the surface-hunting
algorithm, and especially over water. Fixed a few other misc. bugs.
Made growth code properly execute all biome-control code before executing
any string-named function or spawn_tree().
Tuned flowers settings. Made flowers require at least some light to spawn,
made waterlilies require shallower water. Fixed a bug in water depth detection
and made water depth depend on whether the bottom of the water area is dirt,
dirt with grass, or sand, rather than just anything.
Made waterlilies randomly rotate on spawning to break up the patterns (now has
16 orientations with the help of nodeboxes and facedir, requires only 3 new
nodes). Smoothed edges of the regular waterlily texture. Made all flowers and
water- lilies spawn using only 3 ABM calls instead of 8.
Got rid of colon prefix node def overrides on all plants, since this is a
modpack now instead of an integrated mod. Fixed a misspelled folder name for
poisonivy.
Fixed a bug in the wall detection routine - it returned the last wall found,
not the first.
Made the top-side-check for air only apply when spawning on top of the
target rather than its sides/bottom.
Many other features and enhancements have been made. Too many to list here.
Please see API.txt for details.
(two new variables defining min and max temperature, normalized to 0.53 = 0
degrees centigrade).
The values used for this new Perlin layer come from Splizard's Snow Biomes mod,
so other mods that use plantlife to create biomes should be able to blend
nicely with that mod.
for air surrounding the plant spawn location (defaults to 1, just the target
node). Values of 1 and 9 for the two new variables would check the 3x3 area
around the spawn location. Don't make these numbers too large or it will
slow the abm down.
texture files to their respective components' folders (<f>/textures). Also,
began working on extending the API for the growing code to allow for checking
for the height of a node. Poisonivy is the only component that uses it for
now; this is more intended to be used with nature pack eventually.
fix the waterlily bug. Reverted it.
This should, however, finally fix jungle grass turning into dry shrubs when it
shouldn't, and the list of growing surfaces seems to work properly now. Will
fix the waterlily bug later.