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-01-08 13:35:41 +00:00
2024-06-24 03:26:02 +02:00
2024-08-31 16:39:43 +02:00
2023-08-31 14:16:42 +08:00
2024-08-31 09:57:45 -05:00
2024-05-22 19:01:14 +00:00
2024-08-31 16:39:43 +02:00
2024-06-11 18:40:44 +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
2024-08-31 16:39:43 +02:00
2024-08-31 16:39:43 +02:00
2024-04-27 08:41:09 +00:00
2024-08-31 16:39:43 +02:00
2024-08-18 04:47:12 +02:00
2024-08-28 06:17:53 -05:00
2023-08-31 14:16:42 +08:00
2024-08-31 16:39:43 +02:00
2024-05-07 11:38:00 +00:00
2024-02-02 03:05:57 +00:00
2024-09-07 14:58:12 +02:00
2024-08-18 04:47:12 +02:00
2023-08-31 14:16:42 +08:00
2023-12-22 23:45:07 +01:00
2024-08-31 16:39:43 +02:00
2024-08-18 04:46:19 +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
2024-09-09 20:22:04 +02:00
2024-03-07 20:04:02 +00:00
2024-08-31 16:39:43 +02:00
2024-08-18 04:47:19 +02:00
2024-05-07 11:38:00 +00:00
2024-08-31 16:39:43 +02:00
2024-06-11 19:17:12 +02:00
2024-08-18 04:47:12 +02:00
2024-08-30 18:26:18 +02:00
2024-08-18 04:47:19 +02:00
2024-06-16 18:33:19 +02:00
2024-05-07 11:38:00 +00: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
2024-08-31 16:39:43 +02:00
2024-05-07 11:38:00 +00:00
2024-08-31 16:39:43 +02:00
2024-05-07 11:38:00 +00:00
2024-09-08 04:26:51 +02:00
2024-08-31 19:37:14 +02:00
2024-05-30 10:51:45 +00:00
2024-08-31 16:39:43 +02:00
2024-05-07 11:38:00 +00:00
2024-08-31 16:39:43 +02:00
2024-08-18 04:47:12 +02:00
2024-08-31 16:39:43 +02:00
2024-08-31 16:39:43 +02:00
2024-08-18 19:21:19 +02:00
2023-12-22 23:45:07 +01:00
2024-08-31 16:39:43 +02:00
2024-09-07 14:58:12 +02:00
2024-08-18 04:46:19 +02:00
2023-12-22 23:45:07 +01:00
2024-05-19 15:10:04 +02:00
2024-08-31 16:39:43 +02:00
2024-08-18 19:21:19 +02:00
2024-05-07 11:38:00 +00:00
2024-08-28 06:30:12 -05:00
2024-08-31 16:39:43 +02:00
2024-08-18 04:47:12 +02:00
2024-08-31 16:39:43 +02:00
2024-01-15 14:19:51 +00: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-18 19:21:19 +02:00
2024-08-31 16:39:43 +02:00
2024-08-31 19:52:41 +02:00
2024-05-07 11:38:00 +00:00
2024-05-24 10:31:27 +00:00
2024-08-31 16:39:43 +02:00
2024-07-31 02:57:20 +02:00
2024-08-18 05:40:25 +02:00
2024-05-22 18:55:07 +00:00
2024-05-07 11:38:00 +00:00
2023-12-22 23:45:07 +01:00
2024-08-18 04:47:19 +02:00
2024-05-19 15:10:04 +02:00
2023-12-22 23:45:07 +01:00
2023-12-22 23:45:07 +01:00
2024-08-18 04:46:19 +02:00
2024-08-31 16:39:43 +02:00
2024-05-07 11:38:00 +00:00
2024-08-31 16:39:43 +02:00
2023-08-31 14:16:42 +08:00
2019-01-07 00:52:05 +01:00