From 888b0ebfec8c2eff9015163549a7e47443cb8665 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 21:00:20 -0400 Subject: "explode" all modpacks into their individual components (you can't have a modpack buried inside a modpack) --- steel/rust.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 steel/rust.lua (limited to 'steel/rust.lua') diff --git a/steel/rust.lua b/steel/rust.lua new file mode 100644 index 0000000..9eea7ca --- /dev/null +++ b/steel/rust.lua @@ -0,0 +1,15 @@ +local function moss(input, output) + minetest.register_abm({ + nodenames = {input}, + neighbors = {"group:water"}, + interval = 50, + chance = 20, + action = function(pos) + if not minetest.find_node_near(pos, 3, output) then + minetest.add_node(pos, {name=output}) + end + end, + }) +end + +moss("steel:plate_soft", "steel:plate_rusted") -- cgit v1.2.3