forked from nalc/homedecor_modpack
fix broken bathroom tiles recipes
This commit is contained in:
parent
af41f549a7
commit
d61a990fc9
@ -2227,30 +2227,29 @@ minetest.register_craft( {
|
|||||||
|
|
||||||
-- bathroom/kitchen tiles
|
-- bathroom/kitchen tiles
|
||||||
|
|
||||||
local color_pairings = {
|
|
||||||
{ "grey", "white", "1" },
|
|
||||||
{ "dark_grey", "white", "2" },
|
|
||||||
{ "black", "white", "3" },
|
|
||||||
{ "black", "dark_grey", "4" },
|
|
||||||
{ "red", "white", "red" },
|
|
||||||
{ "green", "white", "green" },
|
|
||||||
{ "blue", "white", "blue" },
|
|
||||||
{ "yellow", "white", "yellow" },
|
|
||||||
{ "brown", "white", "tan" }
|
|
||||||
}
|
|
||||||
|
|
||||||
for i in ipairs(color_pairings) do
|
|
||||||
local dye1 = color_pairings[i][1]
|
|
||||||
local dye2 = color_pairings[i][2]
|
|
||||||
local result = color_pairings[i][3]
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:tiles_"..result.." 2",
|
output = "homedecor:bathroom_tiles_light 4",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "group:marble", "dye:"..dye1 },
|
{ "group:marble", "group:marble" },
|
||||||
{ "group:marble", "dye:"..dye2 }
|
{ "group:marble", "group:marble" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "homedecor:bathroom_tiles_medium 4",
|
||||||
|
recipe = {
|
||||||
|
{ "group:marble", "group:marble", "" },
|
||||||
|
{ "group:marble", "group:marble", "dye:grey" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "homedecor:bathroom_tiles_dark 4",
|
||||||
|
recipe = {
|
||||||
|
{ "group:marble", "group:marble", "" },
|
||||||
|
{ "group:marble", "group:marble", "dye:dark_grey" }
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
-- misc electrical
|
-- misc electrical
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user