summaryrefslogtreecommitdiff
path: root/water.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-11-14 10:21:06 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2015-11-14 10:21:06 +0000
commitbc2b58ab8eb7593bd40abb5b6bf7ad0eded8a3d4 (patch)
tree67db80e13e10d2ab6acadda40041272b28a1e699 /water.lua
parentedef04429e1c410b5ff16eab9424228d3b5fbd2b (diff)
Added birch tree, tweaked mapgen and abm's
Diffstat (limited to 'water.lua')
-rw-r--r--water.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/water.lua b/water.lua
index 9377918..3b0ba81 100644
--- a/water.lua
+++ b/water.lua
@@ -42,9 +42,9 @@ minetest.register_craft({
-- Over time Cobble placed in water changes to Mossy Cobble
minetest.register_abm({
nodenames = {"default:cobble"},
- neighbors={"group:water"},
- interval = 30,
- chance = 10,
+ neighbors = {"group:water"},
+ interval = 17,
+ chance = 100,
catch_up = false,
action = function(pos, node)
minetest.set_node(pos, {name = "default:mossycobble"})
@@ -59,7 +59,7 @@ minetest.register_abm({
},
neighbors = {"default:water_source", "default:river_water_source"},
interval = 15,
- chance = 2,
+ chance = 4,
catch_up = false,
action = function(pos, node)
local water = minetest.find_nodes_in_area(
@@ -83,7 +83,7 @@ minetest.register_abm({
"default:furnace_active", "default:torch"
},
interval = 5,
- chance = 2,
+ chance = 4,
catch_up = false,
action = function(pos, node, active_object_count, active_object_count_wider)
if node.name == "default:ice"