update api.txt

This commit is contained in:
tenplus1
2024-06-20 11:21:41 +01:00
parent 0349a7a6f1
commit 8bd129309c
2 changed files with 4 additions and 2 deletions

View File

@ -160,6 +160,8 @@ local def = {
},
is_ground_content = false,
sounds = farming.sounds.node_sound_leaves_defaults(),
-- custom function to check for growing conditions, returning True when found
growth_check = function(pos, node_name)
if minetest.find_node_near(pos, 1,