Commit Graph

24 Commits

Author SHA1 Message Date
c2681261e0 [bushes_classic] Optimize math.random call function 2020-07-23 22:10:33 +02:00
Louis Royer
47c20dc550 Remove translations in minetest.log output
because they are not translated anyway
2020-02-15 14:32:06 +00:00
Vanessa Dannenberg
77093e428a use swap_node() where possible, for speed 2018-10-25 10:27:54 -04:00
fat115
5ca1ed261e global i18n : add plantlife_i18n mod
idea taken from homedecor_modpack and its homedecor_i18n
all translated mods have a new dependency : plantlife_i18n
translations are stored in po/pot file : one file for all mods

added french translation (almost complete)
transfered de/es/tr/pt translations to corresponding .po file
(only for some mods, unfortunately translations are incomplete)
2017-08-03 15:02:56 +02:00
Carlos Barraza
5212a756f5 Add intllib support and spanish translation. 2017-04-19 13:11:35 -03:00
Vanessa Ezekowitz
42732b0636 split plants_lib off into its own repository
renamed it to biome_lib
changed all relevant functions, tables, depends.txt, etc. in this modpack to call for the new name.
2015-08-09 10:37:50 -04:00
Vanessa Ezekowitz
d2a7f4fdf9 add facedir to baskets 2015-03-17 13:34:23 -04:00
Vanessa Ezekowitz
117cab1474 use mesh nodes for bushes_classic baskets/baskets-with-pies. 2015-01-26 04:10:20 -05:00
Vanessa Ezekowitz
d63e016b19 use mesh node for the various bushes
new texture filenames also.
2015-01-25 15:07:07 -05:00
Gael-de-Sailly
ec4f2237f3 Drop item when inventory is full (bushes_classic) 2015-01-25 10:18:56 +01:00
Gael-de-Sailly
ecf175fb9c cleaned the code of bushes_classic into conventionnal LUA style, for readability 2015-01-25 10:00:42 +01:00
Tim
06231ea950 fix bushes to regrow berries on any materials, constrain them to soils and potting soils 2015-01-21 04:36:17 +01:00
Vanessa Ezekowitz
56177e5142 use current intllib API 2014-12-27 01:20:51 -05:00
Vanessa Ezekowitz
b914e5395b use set_node(), not add_node()
don't use minetest.env:* method (deprecated), use minetest.* instead
2014-08-15 19:34:15 -04:00
Zefram
49c1d35ddb Exclude fruitless bush from creative inventory
The fruitless bush isn't an independent item, but a node type used only
for its appearance, representing the the fruitless state of some specific
type of fruit bush.  One should never have a fruitless bush in inventory,
and it makes no sense to plant a fruitless bush per se.
2014-07-05 12:49:24 -04:00
Xanthin
1bf00f229a added intllib function for translation 2014-03-12 19:06:27 +01:00
HybridDog
652f451360 3D Nodebox Based Bushes 2014-01-18 15:35:13 -02:00
Vanessa Ezekowitz
5a2265788d removed waving effect in grass, as the shader that provides it is about to
change in such a way that it will break what was here.
2013-11-22 23:56:30 -05:00
Vanessa Ezekowitz
4912981332 Make most plants capable of waving if shaders are enabled 2013-11-21 18:44:49 -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
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
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
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