New recipes for copper door and copper trapdoor

This commit is contained in:
JoseDouglas26 2024-05-04 09:50:38 -03:00
parent 86632c9e43
commit c125013528

View file

@ -33,17 +33,6 @@ local function get_shape(name, material)
{material}, {material},
{material}, {material},
} }
elseif name == "door" then
return {
{material, material},
{material, material},
{material, material}
}
elseif name == "trapdoor" then
return {
{material, material, material},
{material, material, material}
}
elseif name == "bulb_off" then elseif name == "bulb_off" then
return { return {
{"", material, ""}, {"", material, ""},
@ -202,3 +191,20 @@ minetest.register_craft({
recipe = "mcl_copper:block_raw", recipe = "mcl_copper:block_raw",
cooktime = 90, cooktime = 90,
}) })
minetest.register_craft({
output = "mcl_copper:door 3",
recipe = {
{"mcl_copper:copper_ingot", "mcl_copper:copper_ingot"},
{"mcl_copper:copper_ingot", "mcl_copper:copper_ingot"},
{"mcl_copper:copper_ingot", "mcl_copper:copper_ingot"}
}
})
minetest.register_craft({
output = "mcl_copper:trapdoor 2",
recipe = {
{"mcl_copper:copper_ingot", "mcl_copper:copper_ingot", "mcl_copper:copper_ingot"},
{"mcl_copper:copper_ingot", "mcl_copper:copper_ingot", "mcl_copper:copper_ingot"}
}
})