mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
fix curtain recipes
add support for cottages:wool therein
This commit is contained in:
parent
4ef2f83f07
commit
428729a43d
@ -1046,26 +1046,23 @@ minetest.register_craft( {
|
||||
|
||||
-- Curtains
|
||||
|
||||
local curtaincolors = {
|
||||
"red",
|
||||
"green",
|
||||
"blue",
|
||||
"white",
|
||||
"pink",
|
||||
"violet"
|
||||
}
|
||||
|
||||
for c in ipairs(curtaincolors) do
|
||||
local color = curtaincolors[c]
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:curtain_"..color.." 3",
|
||||
output = "homedecor:curtain_closed 4",
|
||||
recipe = {
|
||||
{ "wool:"..color, "", ""},
|
||||
{ "wool:"..color, "", ""},
|
||||
{ "wool:"..color, "", ""},
|
||||
{ "wool:white", "", ""},
|
||||
{ "wool:white", "", ""},
|
||||
{ "wool:white", "", ""},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:curtain_closed 4",
|
||||
recipe = {
|
||||
{ "cottages:wool", "", ""},
|
||||
{ "cottages:wool", "", ""},
|
||||
{ "cottages:wool", "", ""},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
local mats = {
|
||||
{ "brass", "homedecor:pole_brass" },
|
||||
|
Loading…
Reference in New Issue
Block a user