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
..
2024-08-31 09:57:45 -05:00
2024-08-31 16:39:43 +02:00
2024-08-31 16:39:43 +02:00
2024-08-31 16:39:43 +02:00
2024-08-31 16:39:43 +02:00
2023-08-31 14:16:42 +08:00
2023-08-31 14:16:42 +08:00
2024-08-31 16:39:43 +02:00
2024-08-31 16:39:43 +02:00
2023-12-22 23:45:07 +01:00
2023-12-22 23:45:07 +01:00
2024-01-15 14:19:51 +00:00
2024-08-31 16:39:43 +02:00
2024-08-31 19:52:41 +02:00
2024-05-22 18:55:07 +00:00
2023-12-22 23:45:07 +01:00
2023-12-22 23:45:07 +01:00
2023-12-22 23:45:07 +01:00
2023-08-31 14:16:42 +08:00