1
0
Fork 0
MineClone2/mods/ITEMS/mcl_copper/crafting.lua

102 lines
2.7 KiB
Lua
Raw Permalink Normal View History

2022-05-01 01:11:51 +00: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 01:11:51 +00:00
})
2022-05-01 01:11:51 +00: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", "mcl_copper:copper_ingot", "mcl_copper:copper_ingot" },
{ "mcl_copper:copper_ingot", "mcl_copper:copper_ingot", "mcl_copper:copper_ingot" },
},
2022-05-01 01:11:51 +00:00
})
2022-05-01 01:11:51 +00: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 01:11:51 +00:00
})
2022-05-01 01:11:51 +00: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 01:11:51 +00:00
})
2022-05-01 01:11:51 +00: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 01:11:51 +00:00
})
2022-05-01 01:11:51 +00:00
minetest.register_craft({
output = "mcl_copper:block_weathered_cut 4",
2022-05-01 01:11:51 +00:00
recipe = {
{ "mcl_copper:block_weathered", "mcl_copper:block_weathered" },
{ "mcl_copper:block_weathered", "mcl_copper:block_weathered" },
},
2022-05-01 01:11:51 +00:00
})
2022-11-15 21:02:05 +00: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
2023-11-13 20:19:09 +00:00
local cuttable_blocks = { "block", "waxed_block", "block_exposed", "waxed_block_exposed", "block_weathered", "waxed_block_weathered", "block_oxidized", "waxed_block_oxidized" }
2023-11-25 23:47:02 +00:00
for _, c in ipairs(cuttable_blocks) do
mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c.."_cut", 4)
2023-11-13 20:19:09 +00:00
end
2022-05-01 01:11:51 +00:00
minetest.register_craft({
output = "mcl_copper:copper_ingot 9",
2022-05-01 01:11:51 +00:00
recipe = {
{ "mcl_copper:block" },
},
2022-05-01 01:11:51 +00:00
})
2022-05-01 01:11:51 +00:00
minetest.register_craft({
output = "mcl_copper:raw_copper 9",
recipe = {
{ "mcl_copper:block_raw" },
},
2022-05-01 01:11:51 +00:00
})
2022-05-01 01:11:51 +00:00
minetest.register_craft({
type = "cooking",
output = "mcl_copper:copper_ingot",
recipe = "mcl_copper:raw_copper",
cooktime = 10,
})
2022-05-01 01:11:51 +00:00
minetest.register_craft({
type = "cooking",
output = "mcl_copper:copper_ingot",
recipe = "mcl_copper:stone_with_copper",
cooktime = 10,
2022-11-15 21:02:05 +00:00
})
minetest.register_craft({
type = "cooking",
output = "mcl_copper:block",
recipe = "mcl_copper:block_raw",
cooktime = 90,
})