Commit Graph

19 Commits

Author SHA1 Message Date
Vanessa Dannenberg
77093e428a use swap_node() where possible, for speed 2018-10-25 10:27:54 -04:00
Vanessa Ezekowitz
de4de190e5 include both kinds of leaves in nature blossoms' leafdecay reg 2017-08-12 19:59:19 -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
Vanessa Ezekowitz
eaa716df76 fix broken leafdecay on apple blossoms 2017-03-30 18:29:24 -04:00
Rogier
2e0277e558 Increase fraction of apples that regrow to 25% after longer block inactivity. 2015-11-03 12:46:15 +01:00
Rogier
d0965a867d Fix apples not regrowing 2015-11-03 12:46:15 +01:00
Rogier
acbc58d8ee Make apple regrowing frequency configurable independently of blossom
Conflicts:
	nature_classic/init.lua
2015-11-03 12:46:15 +01:00
Vanessa Ezekowitz
4e54d23c4d use default leaf decay code for blossoms 2015-08-15 17:23:44 -04:00
Rogier
a27c97d3c9 Eliminate mass conversions between blossom and leaves
This happens when the ABM runs after the block has been unloaded
for much longer than the ABM interval: in that case, the initial
ABM running chance for a node in the block may become up to 100%.
2015-06-18 11:24:17 +02:00
Rogier
8348a745f8 Use different chances for leaves->blossom and blossom->leaves conversions 2015-06-18 11:23:57 +02:00
Rogier
bb41483ee9 Make blossom revert back to regular leaves
It didn't, so that all apple leaves would permanently become blossom
over time.
2015-06-18 11:23:57 +02:00
Vanessa Ezekowitz
40f5d66505 refactor nature_classic to avoid lag caused by its blossom abms 2015-02-08 23:17:02 -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
Vanessa Ezekowitz
829c69c351 make nature_classic aware of moretrees
If moretrees is not present, nature_classic spawns blossoms and
eventually apples on default trees, as it always has.

If moretrees IS present, the code will only spawn apple blossoms on
moretrees' own apple tree leaves, and will only grow new apples on those
trees, not on default trees.  In this case, the nature:blossom node is
considered deprecated and is aliased to default:leaves to avoid causing
undefined nodes in old maps.
2014-07-30 12:55:49 -04:00
Vanessa Ezekowitz
5adbd3f043 minetest.env:* is deprecated, use minetest.* 2014-07-05 02:01:24 -04:00
Vanessa Ezekowitz
9032385b61 don't spawn apples too close together. 2014-07-05 02:00:41 -04:00
Vanessa Ezekowitz
7b9aac91b2 make apple blossoms only grow on trees within 20m of water by default 2014-07-05 01:50:09 -04:00
Vanessa Ezekowitz
5ca862e153 add waving property to blossoms, for shader use 2014-07-04 01:44:15 -04:00
Vanessa Ezekowitz
828c2008e7 import part of the original nature mod from nature_pack
blossoms/apple spawning portion only
does not include the iron trees or tree-growing code as those are obsolete
2014-07-04 00:49:32 -04:00