Commit Graph

16 Commits

Author SHA1 Message Date
Rogier
aaa4186695 Remove redundant 'remove_node' in blossom code 2015-06-18 11:24:17 +02:00
Rogier
4c70d6d160 Limit the number of blossoms or leaves queued for conversion 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
811e1d2ee2 fix crash if detected light at a node is nil 2015-02-09 12:50:32 -05:00
Vanessa Ezekowitz
581aee0570 reset blossom delay back to normal 2015-02-08 23:37:48 -05: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
3eaf687da4 OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:08:08 -05:00
neko259
b16a5f0a68 Refactored nature classic global functions 2014-10-31 22:09:32 +02: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