forked from mtcontrib/homedecor_modpack
Fix broken recipes and missing aliases (again)
This commit is contained in:
parent
5f9928d027
commit
81bb309bc6
|
@ -1753,7 +1753,7 @@ minetest.register_craft( {
|
||||||
-- plain wood, non-windowed
|
-- plain wood, non-windowed
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_wood_plain_bottom_left 2",
|
output = "homedecor:door_wood_plain_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "group:wood", "group:wood", "" },
|
{ "group:wood", "group:wood", "" },
|
||||||
{ "group:wood", "group:wood", "default:steel_ingot" },
|
{ "group:wood", "group:wood", "default:steel_ingot" },
|
||||||
|
@ -1764,7 +1764,7 @@ minetest.register_craft( {
|
||||||
-- fancy exterior
|
-- fancy exterior
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_exterior_fancy_bottom_left 2",
|
output = "homedecor:door_exterior_fancy_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "group:wood", "default:glass" },
|
{ "group:wood", "default:glass" },
|
||||||
{ "group:wood", "group:wood" },
|
{ "group:wood", "group:wood" },
|
||||||
|
@ -1777,7 +1777,7 @@ minetest.register_craft( {
|
||||||
-- bare
|
-- bare
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_wood_glass_bottom_left 2",
|
output = "homedecor:door_wood_glass_oak_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "default:glass", "group:wood" },
|
{ "default:glass", "group:wood" },
|
||||||
{ "group:wood", "default:glass" },
|
{ "group:wood", "default:glass" },
|
||||||
|
@ -1786,7 +1786,7 @@ minetest.register_craft( {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_wood_glass_bottom_left 2",
|
output = "homedecor:door_wood_glass_oak_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "group:wood", "default:glass" },
|
{ "group:wood", "default:glass" },
|
||||||
{ "default:glass", "group:wood" },
|
{ "default:glass", "group:wood" },
|
||||||
|
@ -1798,22 +1798,22 @@ minetest.register_craft( {
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:door_wood_glass_mahogany_bottom_left 2",
|
output = "homedecor:door_wood_glass_mahogany_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
"default:dirt",
|
"default:dirt",
|
||||||
"default:coal_lump",
|
"default:coal_lump",
|
||||||
"homedecor:door_wood_glass_bottom_left",
|
"homedecor:door_wood_glass_oak_left",
|
||||||
"homedecor:door_wood_glass_bottom_left"
|
"homedecor:door_wood_glass_oak_left"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:door_wood_glass_mahogany_bottom_left 2",
|
output = "homedecor:door_wood_glass_mahogany_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
"dye:brown",
|
"dye:brown",
|
||||||
"homedecor:door_wood_glass_bottom_left",
|
"homedecor:door_wood_glass_oak_left",
|
||||||
"homedecor:door_wood_glass_bottom_left"
|
"homedecor:door_wood_glass_oak_left"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1821,18 +1821,18 @@ minetest.register_craft( {
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:door_wood_glass_white_bottom_left 2",
|
output = "homedecor:door_wood_glass_white_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
"dye:white",
|
"dye:white",
|
||||||
"homedecor:door_wood_glass_bottom_left",
|
"homedecor:door_wood_glass_oak_left",
|
||||||
"homedecor:door_wood_glass_bottom_left"
|
"homedecor:door_wood_glass_oak_left"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Solid glass with metal handle
|
-- Solid glass with metal handle
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_glass_bottom_left 2",
|
output = "homedecor:door_glass_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "default:glass", "default:glass" },
|
{ "default:glass", "default:glass" },
|
||||||
{ "default:glass", "default:steel_ingot" },
|
{ "default:glass", "default:steel_ingot" },
|
||||||
|
@ -1845,7 +1845,7 @@ minetest.register_craft( {
|
||||||
-- oak
|
-- oak
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_closet_oak_bottom_left 2",
|
output = "homedecor:door_closet_oak_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "", "group:stick", "group:stick" },
|
{ "", "group:stick", "group:stick" },
|
||||||
{ "default:steel_ingot", "group:stick", "group:stick" },
|
{ "default:steel_ingot", "group:stick", "group:stick" },
|
||||||
|
@ -1857,10 +1857,10 @@ minetest.register_craft( {
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:door_closet_mahogany_bottom_left 2",
|
output = "homedecor:door_closet_mahogany_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:door_closet_oak_bottom_left",
|
"homedecor:door_closet_oak_left",
|
||||||
"homedecor:door_closet_oak_bottom_left",
|
"homedecor:door_closet_oak_left",
|
||||||
"default:dirt",
|
"default:dirt",
|
||||||
"default:coal_lump",
|
"default:coal_lump",
|
||||||
},
|
},
|
||||||
|
@ -1868,10 +1868,10 @@ minetest.register_craft( {
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "homedecor:door_closet_mahogany_bottom_left 2",
|
output = "homedecor:door_closet_mahogany_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
"homedecor:door_closet_oak_bottom_left",
|
"homedecor:door_closet_oak_left",
|
||||||
"homedecor:door_closet_oak_bottom_left",
|
"homedecor:door_closet_oak_left",
|
||||||
"dye:brown"
|
"dye:brown"
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -1879,7 +1879,7 @@ minetest.register_craft( {
|
||||||
-- wrought fence-like door
|
-- wrought fence-like door
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_wrought_iron_bottom_left 2",
|
output = "homedecor:door_wrought_iron_left 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "homedecor:pole_wrought_iron", "default:iron_lump" },
|
{ "homedecor:pole_wrought_iron", "default:iron_lump" },
|
||||||
{ "homedecor:pole_wrought_iron", "default:iron_lump" },
|
{ "homedecor:pole_wrought_iron", "default:iron_lump" },
|
||||||
|
@ -1890,10 +1890,10 @@ minetest.register_craft( {
|
||||||
-- bedroom door
|
-- bedroom door
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_bedroom_bottom_left",
|
output = "homedecor:door_bedroom_left",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "dye:white", "dye:white", "" },
|
{ "dye:white", "dye:white", "" },
|
||||||
{ "homedecor:door_wood_plain_bottom_left", "technic:brass_ingot", "" },
|
{ "homedecor:door_wood_plain_left", "technic:brass_ingot", "" },
|
||||||
{ "", "", "" },
|
{ "", "", "" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -1901,7 +1901,7 @@ minetest.register_craft( {
|
||||||
-- woodglass door
|
-- woodglass door
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_woodglass_bottom_left",
|
output = "homedecor:door_woodglass_left",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "default:wood", "default:glass", "" },
|
{ "default:wood", "default:glass", "" },
|
||||||
{ "default:wood", "default:glass", "technic:brass_ingot" },
|
{ "default:wood", "default:glass", "technic:brass_ingot" },
|
||||||
|
@ -1912,7 +1912,7 @@ minetest.register_craft( {
|
||||||
-- woodglass door type 2
|
-- woodglass door type 2
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:door_woodglass2_bottom_left",
|
output = "homedecor:door_woodglass2_left",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "default:glass", "default:glass", "" },
|
{ "default:glass", "default:glass", "" },
|
||||||
{ "default:wood", "default:wood", "default:iron_lump" },
|
{ "default:wood", "default:wood", "default:iron_lump" },
|
||||||
|
@ -3005,7 +3005,7 @@ for _, color in ipairs(bookcolors) do
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:jpn_door_bottom",
|
output = "homedecor:door_japanese_closed",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "homedecor:japanese_wall_top" },
|
{ "homedecor:japanese_wall_top" },
|
||||||
{ "homedecor:japanese_wall_bottom" }
|
{ "homedecor:japanese_wall_bottom" }
|
||||||
|
|
|
@ -104,7 +104,7 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:table_lamp_off",
|
output = "homedecor:table_lamp_white_off",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:paper","default:torch" ,"default:paper"},
|
{"default:paper","default:torch" ,"default:paper"},
|
||||||
{"","group:stick",""},
|
{"","group:stick",""},
|
||||||
|
@ -113,7 +113,7 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:table_lamp_off",
|
output = "homedecor:table_lamp_white_off",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"default:paper","default:torch" ,"default:paper"},
|
{"default:paper","default:torch" ,"default:paper"},
|
||||||
{"","group:stick",""},
|
{"","group:stick",""},
|
||||||
|
@ -122,9 +122,9 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:standing_lamp_bottom_off",
|
output = "homedecor:standing_lamp_white_off",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"homedecor:table_lamp_off"},
|
{"homedecor:table_lamp_white_off"},
|
||||||
{"group:stick"},
|
{"group:stick"},
|
||||||
{"group:stick"},
|
{"group:stick"},
|
||||||
},
|
},
|
||||||
|
@ -132,7 +132,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "homedecor:table_lamp_off",
|
recipe = "homedecor:table_lamp_white_off",
|
||||||
burntime = 10,
|
burntime = 10,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -456,7 +456,9 @@ local function reg_lamp(suffix, nxt, tilesuffix, light, color)
|
||||||
minetest.register_alias("homedecor:standing_lamp_bottom"..lampcolor.."_"..suffix, "homedecor:standing_lamp"..lampcolor.."_"..suffix)
|
minetest.register_alias("homedecor:standing_lamp_bottom"..lampcolor.."_"..suffix, "homedecor:standing_lamp"..lampcolor.."_"..suffix)
|
||||||
minetest.register_alias("homedecor:standing_lamp_top"..lampcolor.."_"..suffix, "air")
|
minetest.register_alias("homedecor:standing_lamp_top"..lampcolor.."_"..suffix, "air")
|
||||||
minetest.register_alias("homedecor:standing_lamp_"..suffix, "homedecor:standing_lamp_white_"..suffix)
|
minetest.register_alias("homedecor:standing_lamp_"..suffix, "homedecor:standing_lamp_white_"..suffix)
|
||||||
|
minetest.register_alias("homedecor:standing_lamp_whiteoff", "homedecor:standing_lamp_white_off")
|
||||||
minetest.register_alias("homedecor:table_lamp_"..suffix, "homedecor:table_lamp_white_"..suffix)
|
minetest.register_alias("homedecor:table_lamp_"..suffix, "homedecor:table_lamp_white_"..suffix)
|
||||||
|
minetest.register_alias("homedecor:table_lamp_whiteoff", "homedecor:table_lamp_white_off")
|
||||||
|
|
||||||
-- for old maps that had the original 3dforniture mod
|
-- for old maps that had the original 3dforniture mod
|
||||||
if lampcolor == "" then
|
if lampcolor == "" then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user