VoxeLibre/mods
kno10 0752ed17d8 Improve cacti and cane growth ABM (#4590)
- local functions, as they are not called by anywhere else
- delay water check of reed, first check height
- reduce number of get_node calls (for height 1,2,3 the old code used 4,5,4 calls, the new only 2,3,3)
- cane growth rate is also reduced

This will make the ABM cheaper.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4590
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-09-09 20:22:04 +02:00
..
CORE use vector.in_area instead of own code in mapgen (#4562) 2024-09-09 20:05:59 +02:00
ENTITIES More randomness for slime chunks (#4466) 2024-09-09 19:58:54 +02:00
ENVIRONMENT Fix incorrect usages of math.random (#4621) 2024-09-07 14:58:12 +02:00
HELP Add crash guards against unknown items (#4623) 2024-08-31 23:41:06 +02:00
HUD Address review comments on translations/grammar 2024-08-31 16:39:43 +02:00
ITEMS Improve cacti and cane growth ABM (#4590) 2024-09-09 20:22:04 +02:00
MAPGEN use vector.new in mcl_dungeons (#4567) 2024-09-09 20:08:30 +02:00
MISC mcl_privs pt_BR translation 2023-12-22 23:45:07 +01:00
PLAYER Cactus damage cleanup, drop redundant conditions (#4625) 2024-09-08 05:21:42 +02:00