1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-20 09:00:32 +01:00

add recipes for black/white/grey bathroom tiles, give them better textures

This commit is contained in:
Vanessa Ezekowitz 2014-07-27 08:51:56 -04:00
parent 4f1ba4fb74
commit c30fa31336
5 changed files with 23 additions and 0 deletions

View File

@ -2125,3 +2125,26 @@ minetest.register_craft( {
{"homedecor:plastic_sheeting", "homedecor:heating_element", "homedecor:plastic_sheeting"}
},
})
-- bathroom/kitchen tiles
local color_pairings = {
{ "grey", "white", "1" },
{ "dark_grey", "white", "2" },
{ "black", "white", "3" },
{ "black", "dark_grey", "4" }
}
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( {
output = "homedecor:tiles_"..result.." 2",
recipe = {
{ "building_blocks:Marble", "dye:"..dye1 },
{ "building_blocks:Marble", "dye:"..dye2 }
},
})
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

After

Width:  |  Height:  |  Size: 452 B