summaryrefslogtreecommitdiff
path: root/water.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-11-07 20:50:50 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2015-11-07 20:50:50 +0000
commitea4d245f17dac0a61514ea129b51555fe17f86c7 (patch)
treebdada0f8bfdbe582224f26a2da7f7a9338cd3a82 /water.lua
parenta302d34ede9c90ed359b50cfc59c6015c0920ee9 (diff)
disable abm catch_up
Diffstat (limited to 'water.lua')
-rw-r--r--water.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/water.lua b/water.lua
index aff3a56..9377918 100644
--- a/water.lua
+++ b/water.lua
@@ -45,6 +45,7 @@ minetest.register_abm({
neighbors={"group:water"},
interval = 30,
chance = 10,
+ catch_up = false,
action = function(pos, node)
minetest.set_node(pos, {name = "default:mossycobble"})
end
@@ -59,6 +60,7 @@ minetest.register_abm({
neighbors = {"default:water_source", "default:river_water_source"},
interval = 15,
chance = 2,
+ catch_up = false,
action = function(pos, node)
local water = minetest.find_nodes_in_area(
{x = pos.x - 1, y = pos.y - 1, z = pos.z - 1},
@@ -82,6 +84,7 @@ minetest.register_abm({
},
interval = 5,
chance = 2,
+ catch_up = false,
action = function(pos, node, active_object_count, active_object_count_wider)
if node.name == "default:ice"
or node.name == "default:snowblock"
@@ -103,6 +106,7 @@ minetest.register_abm({
neighbors = {"group:water"},
interval = 15,
chance = 2,
+ catch_up = false,
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.set_node(pos, {name = "default:dirt"})
end,
@@ -114,6 +118,7 @@ minetest.register_abm({
neighbors = {"group:water"},
interval = 5,
chance = 1,
+ catch_up = false,
action = function(pos, node)
local num = #minetest.find_nodes_in_area(
{x = pos.x - 1, y = pos.y, z = pos.z},