1
0
Fork 0
VoxeLibre-Fork-Pixel/mods/ITEMS/mcl_copper/crafting.lua

95 lines
2.3 KiB
Lua
Raw Normal View History

2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:block_raw",
recipe = {
{ "mcl_copper:raw_copper", "mcl_copper:raw_copper", "mcl_copper:raw_copper" },
{ "mcl_copper:raw_copper", "mcl_copper:raw_copper", "mcl_copper:raw_copper" },
{ "mcl_copper:raw_copper", "mcl_copper:raw_copper", "mcl_copper:raw_copper" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:block",
recipe = {
{ "mcl_copper:copper_ingot", "mcl_copper:copper_ingot" },
{ "mcl_copper:copper_ingot", "mcl_copper:copper_ingot" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:block_cut 4",
recipe = {
{ "mcl_copper:block", "mcl_copper:block" },
{ "mcl_copper:block", "mcl_copper:block" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:block_exposed_cut 4",
recipe = {
{ "mcl_copper:block_exposed", "mcl_copper:block_exposed" },
{ "mcl_copper:block_exposed", "mcl_copper:block_exposed" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:block_oxidized_cut 4",
recipe = {
{ "mcl_copper:block_oxidized", "mcl_copper:block_oxidized" },
{ "mcl_copper:block_oxidized", "mcl_copper:block_oxidized" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:mcl_copper:block_weathered_cut 4",
recipe = {
{ "mcl_copper:block_weathered", "mcl_copper:block_weathered" },
{ "mcl_copper:block_weathered", "mcl_copper:block_weathered" },
},
2022-05-01 03:11:51 +02:00
})
2022-11-15 22:02:05 +01:00
local waxable_blocks = { "block", "block_cut", "block_exposed", "block_exposed_cut", "block_weathered", "block_weathered_cut", "block_oxidized", "block_oxidized_cut" }
for _, w in ipairs(waxable_blocks) do
minetest.register_craft({
output = "mcl_copper:waxed_"..w,
recipe = {
{ "mcl_copper:"..w, "mcl_honey:honeycomb" },
},
})
end
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:copper_ingot 4",
recipe = {
{ "mcl_copper:block" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
output = "mcl_copper:raw_copper 9",
recipe = {
{ "mcl_copper:block_raw" },
},
2022-05-01 03:11:51 +02:00
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
type = "cooking",
output = "mcl_copper:copper_ingot",
recipe = "mcl_copper:raw_copper",
cooktime = 10,
})
2022-05-01 03:11:51 +02:00
minetest.register_craft({
type = "cooking",
output = "mcl_copper:copper_ingot",
recipe = "mcl_copper:stone_with_copper",
cooktime = 10,
2022-11-15 22:02:05 +01:00
})
minetest.register_craft({
type = "cooking",
output = "mcl_copper:block",
recipe = "mcl_copper:block_raw",
cooktime = 90,
})