summaryrefslogtreecommitdiff
path: root/water.lua
diff options
context:
space:
mode:
Diffstat (limited to 'water.lua')
-rw-r--r--water.lua15
1 files changed, 2 insertions, 13 deletions
diff --git a/water.lua b/water.lua
index e9f14b3..c9d58ec 100644
--- a/water.lua
+++ b/water.lua
@@ -1,3 +1,4 @@
+
-- Ice Brick
minetest.register_node("ethereal:icebrick", {
description = "Ice Brick",
@@ -39,18 +40,6 @@ minetest.register_craft({
}
})
--- Over time Cobble placed in water changes to Mossy Cobble
-minetest.register_abm({
- nodenames = {"default:cobble"},
- neighbors = {"group:water"},
- interval = 17,
- chance = 100,
- catch_up = false,
- action = function(pos, node)
- minetest.swap_node(pos, {name = "default:mossycobble"})
- end
-})
-
-- If Crystal Spike, Crystal Dirt, Snow near Water, change Water to Ice
minetest.register_abm({
nodenames = {
@@ -154,7 +143,7 @@ minetest.register_abm({
if num > 0 then
- minetest.swap_node(pos, {name = "default:water_flowing"})
+ minetest.swap_node(pos, {name = "air"})
minetest.add_item(pos, {name = node.name})
end