VoxeLibre/mods/ITEMS/mcl_cherry_blossom/crafting.lua

87 lines
1.8 KiB
Lua
Raw Normal View History

2023-05-01 00:18:53 +03:00
-- Crafting
local planks = "mcl_cherry_blossom:cherrywood"
local logs = "mcl_cherry_blossom:cherrytree"
local stripped_logs = "mcl_cherry_blossom:stripped_cherrytree"
2023-05-01 00:18:53 +03:00
minetest.register_craft({
output = "mcl_cherry_blossom:cherrytree_bark 3",
recipe = {
{ logs, logs },
{ logs, logs },
2023-05-01 00:18:53 +03:00
}
})
minetest.register_craft({
output = "mcl_cherry_blossom:stripped_cherrytree_bark 3",
recipe = {
{ stripped_logs, stripped_logs },
{ stripped_logs, stripped_logs },
2023-05-01 00:18:53 +03:00
}
})
minetest.register_craft({
output = "mcl_cherry_blossom:cherrywood 4",
recipe = {
{ logs },
2023-05-01 00:18:53 +03:00
}
})
minetest.register_craft({
2023-06-19 19:14:30 +03:00
output = "mcl_cherry_blossom:cherry_door 3",
recipe = {
{planks, planks},
{planks, planks},
{planks, planks}
}
})
minetest.register_craft({
2023-06-19 19:14:30 +03:00
output = "mcl_cherry_blossom:cherry_trapdoor 2",
recipe = {
{planks, planks, planks},
{planks, planks, planks},
}
})
minetest.register_craft({
2023-06-19 19:14:30 +03:00
output = "mcl_cherry_blossom:cherry_fence 3",
recipe = {
{planks, "mcl_core:stick", planks},
{planks, "mcl_core:stick", planks},
}
})
minetest.register_craft({
2023-06-19 19:14:30 +03:00
output = "mcl_cherry_blossom:cherry_fence_gate",
recipe = {
{"mcl_core:stick", planks, "mcl_core:stick"},
{"mcl_core:stick", planks, "mcl_core:stick"},
}
})
mcl_signs.register_sign_craft("mcl_cherry_blossom", "mcl_cherry_blossom:cherrywood", "cherrywood")
-- Smelting
minetest.register_craft({
type = "fuel",
2023-06-19 19:14:30 +03:00
recipe = "mcl_cherry_blossom:cherry_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
2023-06-19 19:14:30 +03:00
recipe = "mcl_cherry_blossom:cherry_trapdoor",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_cherry_blossom:pressure_plate_cherrywood_off",
burntime = 15
})
minetest.register_craft({
type = "fuel",
recipe = "mesecons_button:button_cherrywood_off",
burntime = 5,
})