2023-04-30 21:18:53 +00:00
|
|
|
-- Crafting
|
2023-05-01 00:58:10 +00:00
|
|
|
local planks = "mcl_cherry_blossom:cherrywood"
|
|
|
|
local logs = "mcl_cherry_blossom:cherrytree"
|
|
|
|
local stripped_logs = "mcl_cherry_blossom:stripped_cherrytree"
|
Fireproof certain wood nodes & add planks crafting recipes (#4166)
* 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>
2024-04-13 23:52:46 +00:00
|
|
|
local wood = "mcl_cherry_blossom:cherrytree_bark"
|
|
|
|
local stripped_wood = "mcl_cherry_blossom:stripped_cherrytree_bark"
|
2023-05-01 00:58:10 +00:00
|
|
|
|
2023-04-30 21:18:53 +00:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_cherry_blossom:cherrytree_bark 3",
|
|
|
|
recipe = {
|
2023-05-01 00:58:10 +00:00
|
|
|
{ logs, logs },
|
|
|
|
{ logs, logs },
|
2023-04-30 21:18:53 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_cherry_blossom:stripped_cherrytree_bark 3",
|
|
|
|
recipe = {
|
2023-05-01 00:58:10 +00:00
|
|
|
{ stripped_logs, stripped_logs },
|
|
|
|
{ stripped_logs, stripped_logs },
|
2023-04-30 21:18:53 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_cherry_blossom:cherrywood 4",
|
|
|
|
recipe = {
|
2023-05-01 00:58:10 +00:00
|
|
|
{ logs },
|
2023-04-30 21:18:53 +00:00
|
|
|
}
|
|
|
|
})
|
2023-05-01 00:58:10 +00:00
|
|
|
|
Fireproof certain wood nodes & add planks crafting recipes (#4166)
* 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>
2024-04-13 23:52:46 +00:00
|
|
|
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 },
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2023-05-01 00:58:10 +00:00
|
|
|
minetest.register_craft({
|
2023-06-19 16:14:30 +00:00
|
|
|
output = "mcl_cherry_blossom:cherry_door 3",
|
2023-05-01 00:58:10 +00:00
|
|
|
recipe = {
|
|
|
|
{planks, planks},
|
|
|
|
{planks, planks},
|
|
|
|
{planks, planks}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2023-06-19 16:14:30 +00:00
|
|
|
output = "mcl_cherry_blossom:cherry_trapdoor 2",
|
2023-05-01 00:58:10 +00:00
|
|
|
recipe = {
|
|
|
|
{planks, planks, planks},
|
|
|
|
{planks, planks, planks},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2023-06-19 16:14:30 +00:00
|
|
|
output = "mcl_cherry_blossom:cherry_fence 3",
|
2023-05-01 00:58:10 +00:00
|
|
|
recipe = {
|
|
|
|
{planks, "mcl_core:stick", planks},
|
|
|
|
{planks, "mcl_core:stick", planks},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2023-06-19 16:14:30 +00:00
|
|
|
output = "mcl_cherry_blossom:cherry_fence_gate",
|
2023-05-01 00:58:10 +00:00
|
|
|
recipe = {
|
|
|
|
{"mcl_core:stick", planks, "mcl_core:stick"},
|
|
|
|
{"mcl_core:stick", planks, "mcl_core:stick"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2023-06-25 16:49:29 +00:00
|
|
|
mcl_signs.register_sign_craft("mcl_cherry_blossom", "mcl_cherry_blossom:cherrywood", "_cherrywood")
|
2023-05-01 00:58:10 +00:00
|
|
|
|
|
|
|
-- Smelting
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2023-06-19 16:14:30 +00:00
|
|
|
recipe = "mcl_cherry_blossom:cherry_door",
|
2023-05-01 00:58:10 +00:00
|
|
|
burntime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
2023-06-19 16:14:30 +00:00
|
|
|
recipe = "mcl_cherry_blossom:cherry_trapdoor",
|
2023-05-01 00:58:10 +00:00
|
|
|
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,
|
|
|
|
})
|