Reduce frequency of vines ABM to reduce load
parent
2a8fcd119b
commit
d66de5adfb
|
@ -1138,8 +1138,8 @@ minetest.register_abm({
|
||||||
nodenames = {"mcl_core:vine"},
|
nodenames = {"mcl_core:vine"},
|
||||||
neighbors = {"air"},
|
neighbors = {"air"},
|
||||||
-- A low interval and a high inverse chance spreads the load
|
-- A low interval and a high inverse chance spreads the load
|
||||||
interval = 3,
|
interval = 4,
|
||||||
chance = 5,
|
chance = 8,
|
||||||
action = function(p0, node, _, _)
|
action = function(p0, node, _, _)
|
||||||
if not mcl_core.check_vines_supported(p0, node) then
|
if not mcl_core.check_vines_supported(p0, node) then
|
||||||
-- Vines must die!
|
-- Vines must die!
|
||||||
|
|
Loading…
Reference in New Issue