From 0413cb67b8fd2aaf139908d8631dac1738124a5c Mon Sep 17 00:00:00 2001 From: Napiophelios Date: Wed, 30 Nov 2016 03:59:49 -0500 Subject: [PATCH] Add Cobble Walls to Moss Growth ABM --- mods/default/functions.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index 37b5d58..ed373ed 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -437,7 +437,7 @@ minetest.register_abm({ minetest.register_abm({ 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"}, interval = 16, chance = 200, @@ -449,6 +449,8 @@ minetest.register_abm({ minetest.set_node(pos, {name = "stairs:slab_mossycobble", param2 = node.param2}) elseif node.name == "stairs:stair_cobble" then 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 })