sorcery  Diff

Differences From Artifact [451ab2dcbd]:

To Artifact [212d278bbc]:


    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 = {} }