From: Napiophelios Date: Wed, 30 Nov 2016 08:59:49 +0000 (-0500) Subject: Add Cobble Walls to Moss Growth ABM X-Git-Tag: 0.4.15~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0413cb67b8fd2aaf139908d8631dac1738124a5c;p=oweals%2Fminetest_game.git Add Cobble Walls to Moss Growth ABM --- diff --git a/mods/default/functions.lua b/mods/default/functions.lua index 37b5d581..ed373ed7 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 })