sorcery  Check-in [ced73b0ebe]

Overview
Comment:remove unnecessary neighbor restriction
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ced73b0ebe3e266dc7264847041871f6caa89970c283047e530598dc568e88c1
User & Date: lexi on 2021-07-10 00:43:34
Other Links: manifest | tags
Context
2021-07-10
21:15
add defensive check against recipes that change types check-in: 5386806605 user: lexi tags: trunk
00:43
remove unnecessary neighbor restriction check-in: ced73b0ebe user: lexi tags: trunk
2021-07-08
23:14
add lathe recipes, bugfixes check-in: 669078947d user: lexi tags: trunk
Changes

Modified tap.lua from [451ab2dcbd] to [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 = {} }