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

60 lines
1.1 KiB
Lua
Raw Normal View History

2017-06-05 21:57:23 +02:00
-- Trapdoor crafting
minetest.register_craft({
output = 'mcl_doors:trapdoor 2',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
}
})
minetest.register_craft({
output = 'mcl_doors:iron_trapdoor',
recipe = {
{'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
}
})
-- Note: Door crafting is already done by door registration function
-- Fuel
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:wooden_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:jungle_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:dark_oak_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:birch_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:acacia_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:spruce_door",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_doors:trapdoor",
burntime = 15,
})