Default, fire: Disable catch-up in some ABMs
To avoid processing spikes where catch-up is non-essential Disable in: Lavacooling, grass growing, grass removal and all fire mod ABMs
This commit is contained in:
parent
e67e28d226
commit
e41a411f1c
2 changed files with 8 additions and 0 deletions
|
@ -105,6 +105,7 @@ minetest.register_abm({
|
|||
neighbors = {"group:water"},
|
||||
interval = 1,
|
||||
chance = 2,
|
||||
catch_up = false,
|
||||
action = function(...)
|
||||
default.cool_lava_flowing(...)
|
||||
end,
|
||||
|
@ -115,6 +116,7 @@ minetest.register_abm({
|
|||
neighbors = {"group:water"},
|
||||
interval = 1,
|
||||
chance = 2,
|
||||
catch_up = false,
|
||||
action = function(...)
|
||||
default.cool_lava_source(...)
|
||||
end,
|
||||
|
@ -313,6 +315,7 @@ minetest.register_abm({
|
|||
nodenames = {"default:dirt"},
|
||||
interval = 2,
|
||||
chance = 200,
|
||||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
local above = {x = pos.x, y = pos.y + 1, z = pos.z}
|
||||
local name = minetest.get_node(above).name
|
||||
|
@ -338,6 +341,7 @@ minetest.register_abm({
|
|||
nodenames = {"default:dirt_with_grass", "default:dirt_with_dry_grass"},
|
||||
interval = 2,
|
||||
chance = 20,
|
||||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
local above = {x = pos.x, y = pos.y + 1, z = pos.z}
|
||||
local name = minetest.get_node(above).name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue