Add Cobble Walls to Moss Growth ABM

This commit is contained in:
Napiophelios 2016-11-30 03:59:49 -05:00 committed by sfan5
parent f06f66ccc2
commit 0413cb67b8

@ -437,7 +437,7 @@ minetest.register_abm({
minetest.register_abm({ minetest.register_abm({
label = "Moss growth", label = "Moss growth",
nodenames = {"default:cobble", "stairs:slab_cobble", "stairs:stair_cobble"}, nodenames = {"default:cobble", "stairs:slab_cobble", "stairs:stair_cobble", "walls:cobble"},
neighbors = {"group:water"}, neighbors = {"group:water"},
interval = 16, interval = 16,
chance = 200, chance = 200,
@ -449,6 +449,8 @@ minetest.register_abm({
minetest.set_node(pos, {name = "stairs:slab_mossycobble", param2 = node.param2}) minetest.set_node(pos, {name = "stairs:slab_mossycobble", param2 = node.param2})
elseif node.name == "stairs:stair_cobble" then elseif node.name == "stairs:stair_cobble" then
minetest.set_node(pos, {name = "stairs:stair_mossycobble", param2 = node.param2}) minetest.set_node(pos, {name = "stairs:stair_mossycobble", param2 = node.param2})
elseif node.name == "walls:cobble" then
minetest.set_node(pos, {name = "walls:mossycobble", param2 = node.param2})
end end
end end
}) })