fix broken bathroom tiles recipes

This commit is contained in:
Vanessa Ezekowitz 2017-02-27 13:47:21 -05:00
parent af41f549a7
commit d61a990fc9

View File

@ -2227,30 +2227,29 @@ minetest.register_craft( {
-- bathroom/kitchen tiles -- bathroom/kitchen tiles
local color_pairings = { minetest.register_craft( {
{ "grey", "white", "1" }, output = "homedecor:bathroom_tiles_light 4",
{ "dark_grey", "white", "2" }, recipe = {
{ "black", "white", "3" }, { "group:marble", "group:marble" },
{ "black", "dark_grey", "4" }, { "group:marble", "group:marble" }
{ "red", "white", "red" }, },
{ "green", "white", "green" }, })
{ "blue", "white", "blue" },
{ "yellow", "white", "yellow" },
{ "brown", "white", "tan" }
}
for i in ipairs(color_pairings) do minetest.register_craft( {
local dye1 = color_pairings[i][1] output = "homedecor:bathroom_tiles_medium 4",
local dye2 = color_pairings[i][2] recipe = {
local result = color_pairings[i][3] { "group:marble", "group:marble", "" },
minetest.register_craft( { { "group:marble", "group:marble", "dye:grey" }
output = "homedecor:tiles_"..result.." 2", },
recipe = { })
{ "group:marble", "dye:"..dye1 },
{ "group:marble", "dye:"..dye2 } minetest.register_craft( {
}, output = "homedecor:bathroom_tiles_dark 4",
}) recipe = {
end { "group:marble", "group:marble", "" },
{ "group:marble", "group:marble", "dye:dark_grey" }
},
})
-- misc electrical -- misc electrical