for _,name in ipairs({"red", "green", "white", "black", "blue", "brown", "cyan", "grey", "dark_green", "woold:dark_grey", "magenta", "orange", "pink", "red", "violet", "yellow"}) do local nodename = "wool:"..name local tmp = minetest.registered_nodes[nodename] if not tmp then return end local desc = tmp.description stairs.register_stair_and_slab("wool_"..name, nodename, tmp.groups, {"wool_"..name..".png"}, desc.." Stair", desc.." Slab", tmp.sounds ) end