summaryrefslogtreecommitdiff
path: root/water.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-17 21:40:05 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-17 21:40:05 +0100
commitb1f0ded17316dcaf729c3dc2d7d21aed70c2b7ca (patch)
treeadc72eb32963a67a19863bc8e3060cb4b7df1d1b /water.lua
parentc47c840f2aaf35c9ea284be191798cb3a566b175 (diff)
Ethereal NG 1.20 release for minetest 0.4.14
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