Vanessa's plantlife modpack
Go to file
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
flowers Changed plants_lib API to require a table argument when not using legacy 2013-01-25 23:16:54 -05:00
junglegrass Changed plants_lib API to require a table argument when not using legacy 2013-01-25 23:16:54 -05:00
plants_lib Changed plants_lib API to require a table argument when not using legacy 2013-01-25 23:16:54 -05:00
poisonivy Changed plants_lib API to require a table argument when not using legacy 2013-01-25 23:16:54 -05:00
.gitignore Changed default debug to 'false' 2012-11-29 23:02:04 -05:00
API.txt Changed plants_lib API to require a table argument when not using legacy 2013-01-25 23:16:54 -05:00
README redme tweak 2012-11-30 00:57:55 -05:00
copyright.txt initial commit 2012-11-29 22:59:45 -05:00
license.txt initial commit 2012-11-29 22:59:45 -05:00
modpack.txt initial commit 2012-11-29 22:59:45 -05:00

README

README file for Plantlife mod, by Vanessa Ezekowitz
---------------------------------------------------

Plantlife is a combined form of my Flowers, Jungle Grass, and Poison Ivy mods 
and has been significantly rewritten and re-organized.  This mod supplies all 
three of these components and should be 100% compatible with mods that used the 
old versions.

Its purpose is to add various kinds of flowers, cotton plants, water foliage, 
poison ivy, and jungle grass in a few sizes.  All of these are spawned as 
normal nodes and can be collected and used in any recipes that depend on the 
old mods.

Spawning of plants is sensitive to the amount of available light.  Flowers, 
cotton, and waterlilies only spawn when there at least a signficant amount of 
light.  Seaweed will grow only in dimly-lit areas.  Jungle grass and poison ivy 
also grow in the daytime, but require less light than flowers.

Growing of jungle grass and poison ivy will only occur for plants that are on 
the same surface that is necessary for them to spawn on, so they won't grow if 
placed on e.g. cobble or homedecor flower pot, etc.  This doesn't affect 
wall-climbing poison ivy, since it uses a different growth pattern.

All plants use perlin noise to keep where they grow under control - no more 
random spread of plants!  In addition, the density of the plants in any region 
they appear in has been fixed and brought under control.

Poison ivy is found sparsely among junglegrass, but will not grow near flowers.

------------------------------------------------------------------------------

Important details:

Configuration: Any of the three components of this mod can be disabled by 
editing plants/init.lua, near the beginning of the file, and changing one or 
more of these lines to false:

local enable_flowers = true
local enable_junglegrass = true
local enable_poisonivy = true

Dependencies: Just the game's default stuff.

Recommends: Nothing in particular.

Conflicts: This mod should not be installed alongside the original Flowers, 
Jungle Grass, or Poison Ivy mods.  If those exist, delete them, as this mod 
supplies all of their functionality.

Software Requirements: This mod was written for Minetest 0.4.4 or later, but it 
should work on pretty much any old or recent 0.4.x version.  It will not work 
with 0.3.x since that version does not support modding.

------------------------------------------------------------------------------

Crafting:

Only Flowers have crafting recipes.  For a flower pot, put three
clay bricks in the crafting grid in a "v" shape like so (yields 1):

	- - -
	B - B
	- B -

To put a flower into a pot, just put one of each into the crafting grid.

------------------------------------------------------------------------------

Notes:

Flowers has been completely rewritten, almost from scratch, using the most 
recent and advanced features the game engine has to offer.  It should be 
significantly faster than the original Ironzorg Flowers mod.  Flowers and 
cotton spawn on grass only, seaweed spawns on water or grass close to the 
shoreline, or on very small stone islands in water.  Waterlilies of course 
spawn on water.

There are four different sizes of jungle grasses, all of which yield a single 
junglegrass object when gathered (so all four sizes may be used where jungle 
grass is called for).  The largest size uses the game's standard jungle grass 
node, while the others are defined by this mod.

Junglegrass will spawn on grass, sand, desert sand and the tops of papyrus and 
cactus (though rarely), and will do so anywhere in the map.  Grass on the 
ground will grow and eventually disappear (die), while grass in the desert will 
grow and eventually turn into dry shrubs.

Poison Ivy will spawn on grass and in some cases, on vertical surfaces 
including trees and jungle trees where they meet the dirt or grass.  Ivy 
previously spawned on the ground taller/thicker or start climbing up said 
vertical surfaces and trees.

At present, the poison ivy presents little more than an annoyance - they can 
only be cut down and either re-planted or thrown away.  No damage is done by 
harvesting them, yet. ;-)