Commit Graph

16 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
6cd55af894 Wrong filename for regular flowerpot. renamed and tweaked init.lua to match 2013-04-24 20:30:55 -04:00
Vanessa Ezekowitz
9efef0d4df forgot to rename cotton wad ("cotton.png") to match the rest of the filenames. 2013-04-24 20:29:21 -04:00
Vanessa Ezekowitz
fdfd83cbed Changed flowers seed to 326, Renamed all flowers nodes, added
backward-compat aliases, in preparation for a subset of these flowers
being added to "common".
2013-04-24 20:20:28 -04:00
Vanessa Ezekowitz
03dcbce4f0 add attached_node=1 to all flowers not in pots (except waterlilies) 2013-04-10 23:59:29 -04:00
Vanessa
aefb98c60e Fixed waterlilies to use proper facedir range ("6d facedir" code fixes an
oversight in the engine that in turn revealed a bug in my code)
2013-03-24 03:36:13 -04:00
Vanessa Ezekowitz
7060f3dd21 Made all plants/grasses buildable_to, except flowers in flowerpots. 2013-03-20 11:37:11 -04:00
Vanessa Ezekowitz
68a6ce43a7 Changed plants_lib API to require a table argument when not using legacy
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.
2013-01-25 23:16:54 -05:00
jojoa1997
bce47c2ce4 adds a wool recipe for cotton 2013-01-19 17:51:09 -05:00
Vanessa Ezekowitz
7dd3ec2525 Added a function to let one spawn plants at mapgen time,
but it's slow as molasses in January.  Not recommended for
general use yet.
2013-01-19 00:45:46 -05:00
Vanessa Ezekowitz
9cb6f594ee forgot to save one seed diff change (flowers) 2013-01-04 19:36:33 -05:00
Vanessa Ezekowitz
af7aaca77a moved perlin seeddiff settings to respective mods' init.lua's, tweaked default
perlin values to be the same as used in the game's mapgen for spawning dry
shrubs and jungle grass, so that jungle grass mod will replenish the game's
biomes.
2013-01-04 18:56:09 -05:00
Vanessa Ezekowitz
f9df1b5965 Updated API to allow for height controls. 2012-12-17 16:01:16 -05:00
Vanessa Ezekowitz
7006416227 finished splitting up the three components into separate folders, by moving
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.
2012-12-09 22:02:30 -05:00
Vanessa Ezekowitz
498dad83e4 Renamed the "plants" module to "plants_lib". Any modder that directly depends
on that library need only adjust their mods' depends.txt files.  I've already
done this for flowers, junglegrass and poisonivy as included in this modpack,
so any mod that depends on one of *those* needs no changes at all.  No changes
to the API or any functionality.
2012-12-04 19:29:23 -05:00
Vanessa Ezekowitz
2942f2366f Split the flowers/junglegrass/poisonivy components into separate folders,
leaving the plants folder as the primary API code and glue between them.  Any
of the three may be deleted to disable them if so desired.
2012-12-03 17:20:50 -05:00
Vanessa Ezekowitz
fce9f492c7 initial commit 2012-11-29 22:59:45 -05:00