mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
c1971b662a
* Make Crimson and Warped Planks, Double Slab Planks, Fences, Fence Gates, Doors, Trapdoors, Pressure Plates, Wood, Bark, Stripped Wood, Stripped Bark, and Stairs Immune to fire by removing them from the 'flammable', 'fire_encouragement', and 'fire_flammability' groups. * Add crafting recipes which allow Cherry, Mangrove, Crimson, and Warped planks to be crafted from Wood, Bark, Stripped Wood, and Stripped Bark variants, to make them consistent with with all other planks. Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4166 Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land> Co-authored-by: Doods <yusufalishabaka@tutanota.com> Co-committed-by: Doods <yusufalishabaka@tutanota.com>
109 lines
2.2 KiB
Lua
109 lines
2.2 KiB
Lua
-- Crafting
|
|
local planks = "mcl_cherry_blossom:cherrywood"
|
|
local logs = "mcl_cherry_blossom:cherrytree"
|
|
local stripped_logs = "mcl_cherry_blossom:stripped_cherrytree"
|
|
local wood = "mcl_cherry_blossom:cherrytree_bark"
|
|
local stripped_wood = "mcl_cherry_blossom:stripped_cherrytree_bark"
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherrytree_bark 3",
|
|
recipe = {
|
|
{ logs, logs },
|
|
{ logs, logs },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:stripped_cherrytree_bark 3",
|
|
recipe = {
|
|
{ stripped_logs, stripped_logs },
|
|
{ stripped_logs, stripped_logs },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherrywood 4",
|
|
recipe = {
|
|
{ logs },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherrywood 4",
|
|
recipe = {
|
|
{ wood },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherrywood 4",
|
|
recipe = {
|
|
{ stripped_logs },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherrywood 4",
|
|
recipe = {
|
|
{ stripped_wood },
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherry_door 3",
|
|
recipe = {
|
|
{planks, planks},
|
|
{planks, planks},
|
|
{planks, planks}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherry_trapdoor 2",
|
|
recipe = {
|
|
{planks, planks, planks},
|
|
{planks, planks, planks},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "mcl_cherry_blossom:cherry_fence 3",
|
|
recipe = {
|
|
{planks, "mcl_core:stick", planks},
|
|
{planks, "mcl_core:stick", planks},
|
|
}
|
|
})
|
|
minetest.register_craft({
|
|
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",
|
|
recipe = "mcl_cherry_blossom:cherry_door",
|
|
burntime = 10,
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
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,
|
|
})
|