Differences From Artifact [451ab2dcbd]:
- File tap.lua — part of check-in [641c891754] at 2021-07-07 12:57:28 on branch trunk — moretrees compat (user: lexi, size: 5740) [annotate] [blame] [check-ins using]
To Artifact [212d278bbc]:
- File tap.lua — part of check-in [ced73b0ebe] at 2021-07-10 00:43:34 on branch trunk — remove unnecessary neighbor restriction (user: lexi, size: 5711) [annotate] [blame] [check-ins using]
72 72 } 73 73 74 74 local abm_cache 75 75 local abm_cache_time 76 76 minetest.register_abm { 77 77 label = 'Sap drip'; 78 78 nodenames = {'sorcery:tap'}; 79 - neighbors = {'group:tree'}; 80 79 interval = sap_interval; 81 80 chance = 5; 82 81 catch_up = true; 83 82 action = function(pos, node) 84 83 local now = os.time() 85 84 if abm_cache_time == nil or now > abm_cache_time + (sap_interval-1) then 86 85 abm_cache = { treehash = {} }