when setting spawning and growing ABM intervals.
also, add some basic sanity checks to the interval value just in case
the math comes out wrong. Rearranged a bit of code to accommodate these
changes.
(at the same rates as anywhere else)
Slowed down overall berry regrowth and at the same time make it so that
if a bush is planted on wet farming soil, it will re-grow its berries
faster, provided the soil remains wet.
On average, a wild bush will regrow its berries 50% slower than before,
while a farmed bush will regrow its berries twice as fast as the wild
ones did before (about 3x faster than wild ones do now).
Make bushes use default farming mod's flour for making pies instead of
jungle grass, if that mod is installed. Junglegrass will be used if farming
is not present.
Make bushes mod support farming_plus more completely - either its or
bushes' strawberries may be used to make a strawberry pie or a mixed
fruit pie - mix and match the two types of strawberries as desired.
move clone node function from junglegrass mod to plants_lib so that
other mods can use it.
Raw fruit or sugar heals 1/2 heart.
A raw pie heals 2 hearts.
A cooked pie heals 3 hearts or it can be split into 6 slices.
A slice of pie heals 1/2 heart.
A basket of pies heals 9 hearts (and sadly, consumes the basket).
provided by plantlife's junglegrass mod.
Make junglegrass mod define its own copy of default:junglegrass if it isn't
already defined. Add 'junglegrass=1' to the node's groups in either case.
There are now five bushes in this mod: strawberry, blackberry,
blueberry, raspberry, and gooseberry.
Instead of giving you the fruit, digging a bush now directly gives you
that bush, with a 1/5 chance of getting two.
Craft one bush by itself to turn it into four of the corresponding
fruit. Craft six of that fruit to get the bush back (this is how it was
before, I opted to keep it that way).
Craft:
- - -
S J S
f f f
That is, two sugar, one jungle grass, and three fruit as before, to get
one raw pie of that fruit. Cook it as usual. Heals 2 hearts.
Craft one whole pie by itself to get four slices, each of which heals
1/2 heart.
Craft:
S J S
f f f
f f f
That is, two sugar, one jungle grass, and mix-and-match six fruits to
get two mixed fruit pies. Cook as usual, craft one to get four slices.
Baskets of pies can be crafted the same as before (craft a basket from
four sticks in a "T" shape, then craft one of those plus three pies of
the desired type).
In addition: some moderate rewriting and re-arranging of the code to
facilitating adding the new objects.
Made the bushes lower-resolution (they were 64px, which made them not
fit in so well into the usual 16px landscape - reduced them to 32px.
Ditto for the basket textures. Pies are all 16px.
New textures for the pies.
Lilies will be rotated randomly on place, in the same manner as they're
usually generated.
Hold 'sneak' (usually shift) while placing to force them to follow your
facedir instead.
Liles will replace buildable_to nodes when placed, including themselves.
This will cause a loss of lilies if you just keep placing them over and
over, but this is intentional.
node_ownership, glomie's protection mod, and zeg9's protection mod are
accounted for, as are infinite item stacks (e.g. plain creative mode).
Also, compact the waterlily register node calls into a loop.