Commit Graph

418 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
f168f0acb2 Take time_speed into account
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.
2013-11-15 20:48:28 -05:00
Glenn Engelbart
2c97d6e8a2 softened differences in waterlily colors 2013-11-15 20:47:50 -05:00
Vanessa Ezekowitz
a54922a795 Merge branch 'master' of https://github.com/Mossmanikin/plantlife 2013-11-03 20:39:36 -05:00
Vanessa Ezekowitz
7931470ddb Made bushes also spawn on wet or dry farming soil
(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).
2013-11-03 18:03:15 -05:00
Glenn Engelbart
3df6450514 softened differences in waterlily colors 2013-11-03 16:42:44 -06:00
Vanessa Ezekowitz
94e21c0cf6 multiple changes
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.
2013-11-02 19:52:08 -04:00
Vanessa Ezekowitz
f6ffe4bbff Further restricted the change made to default jungle grass
such that the code only adds a new junglegrass=1 entry to the groups
list rather than redefining the list.
2013-11-02 17:32:15 -04:00
Vanessa Ezekowitz
ac218e55b7 Minor tuning for pies vs. fruits
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).
2013-11-02 17:12:14 -04:00
Vanessa Ezekowitz
8238d0d9bf Make bushes mod use any of the junglegrasses
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.
2013-11-02 16:57:32 -04:00
Vanessa Ezekowitz
dce3c3a908 slow down the berry regrowth abm 2013-10-28 21:20:10 -04:00
Sokomine
6ec11d0efc Make bushes drop either fruits, whole bushes, or sticks
depending on the tool used (or the hand)

Uses a re-colored version of the mod's original unadorned strawberry
bush image for the "fruitless" bush.
2013-10-28 21:11:37 -04:00
Vanessa Ezekowitz
f599261b68 fixed incorrect description of loose fruits 2013-10-27 12:09:27 -04:00
Vanessa Ezekowitz
2d619ab154 add missing S() function def for intllib 2013-10-26 17:29:50 -04:00
Vanessa Ezekowitz
02c4f6e693 another error in basket recipes 2013-10-23 22:11:01 -04:00
Vanessa Ezekowitz
7e31e9e10d minor typo in basket recipe 2013-10-23 22:09:00 -04:00
Vanessa Ezekowitz
6958d538d9 Multiple changes
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.
2013-10-23 21:52:55 -04:00
Glenn Engelbart
54a507fad0 Made darker shade of seaweed for variety 2013-10-19 11:44:33 -05:00
Mossmanikin
a9393832b8 More waterlilies and seaweed
Edited existing textures and added new from "along_shore".
Waterlilies and seaweed spawn ongen.
2013-10-12 21:15:03 +02:00
Vanessa Ezekowitz
95f60f5f0f alternate recipe to use farming_plus strawberries 2013-10-01 03:18:04 -04:00
Vanessa Ezekowitz
e750a6bb59 Imported the classic bushes into Plantlife, updated it to the current
plants_lib API (in the process, added some reasonable biome controls),
made it able to grow on Undergrowth modpack's dirt/grass with leaves
nodes.
2013-09-28 11:36:36 -04:00
Vanessa Ezekowitz
c34828ef9d slight clean up in the lines that check for node density 2013-09-14 22:44:16 -04:00
Vanessa Ezekowitz
3003b440e3 change to cc-by-sa 3.0 license, rewrite license file accordingly 2013-09-08 11:55:29 -04:00
Vanessa Ezekowitz
a401f1369d Make waterliles placable on the surface of standing water.
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.
2013-08-19 02:16:00 -04:00
Vanessa Ezekowitz
c60212f3cc formal license texts 2013-07-18 12:36:42 -04:00
Vanessa Ezekowitz
448e3d2be2 Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz
9d06a3137b fix broken flowers-in-pots recipes 2013-06-22 23:10:40 -04:00
PilzAdam
bd1300409d Dont use dump() hack 2013-06-16 10:42:29 -04:00
Vanessa Ezekowitz
ac45e91879 Ran all textures through pngquant. 2013-05-30 17:30:31 -04:00
Vanessa Ezekowitz
6998bf51a2 Ran all textures through pngquant. 2013-05-30 17:30:29 -04:00
Vanessa Ezekowitz
38456d7029 Ran all textures through pngquant. 2013-05-30 17:30:26 -04:00
Vanessa Ezekowitz
2773a048f0 ran textures through pngcrush 2013-05-30 15:49:09 -04:00
Vanessa Ezekowitz
ba651b2c9c remove obsolete textures 2013-05-21 14:35:23 -04:00
Vanessa Ezekowitz
a73ba9aeb8 retired the cotton plants, aliased them to farming cotton since that mod is now
part of minetest_game
2013-05-21 10:52:36 -04:00
Vanessa Ezekowitz
95a44d8bf7 add poison ivy plants to flora_block group so default flowers et.al stay away 2013-04-26 16:54:06 -04:00
Vanessa Ezekowitz
a2ccdf7cf0 removed cotton plant spawning abm since it is in the flora group and is being
spawned automatically by the default flowers code.

took all other plants out of flora group so they don't get spawned by that
code.
2013-04-26 07:24:13 -04:00
Vanessa Ezekowitz
fb60fc4af2 removed poison ivy nodes from flora group. 2013-04-26 07:11:11 -04:00
Vanessa Ezekowitz
743531ed5a took climbing poison ivy out of flora group - thanks to 0gb.us for catching
the cause of a weird facedir bug, which was actually the game doing it, not
plants_lib
2013-04-26 06:56:18 -04:00
Vanessa Ezekowitz
2584286c52 Put poison ivy and junglegrasses into flora group also, made sure my growth
abms will avoid the defaults and vice-versa, to avoid overgrowth.
2013-04-26 05:48:38 -04:00
Vanessa Ezekowitz
620998310c removed regrowth of dandelions, rose, tulip, viola, germaniums, as the
default flowers mod handles that now.
2013-04-26 05:40:13 -04:00
Vanessa Ezekowitz
a6694583db made all flowers and related belong to group:flora(=1), changed regrowth
abms to account for that (as default flowers are flora=1, not flowers=1).
2013-04-26 05:36:51 -04:00
Vanessa Ezekowitz
680e802af0 Default game has flowers now, so this removes all duplicate stuff from
my flowers mod, and renames it to flowers_plus.
2013-04-25 17:18:21 -04:00
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 Ezekowitz
13114913f5 forgot to include benchmark for external function call
also default debug to false again
2013-03-31 01:07:45 -04:00
Vanessa Ezekowitz
3b3425c1e6 made the benchmark output report times in ms instead of seconds. 2013-03-31 00:55:39 -04:00
Vanessa Ezekowitz
2102cf269a added rudimentary benchmarking output to chunk processing and tree gen calls 2013-03-30 23:30:33 -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