0
0
Fork 0
MineClone2/mods/ITEMS/mcl_tools/crafting.lua

339 lines
6.4 KiB
Lua

minetest.register_craft({
output = 'mcl_tools:pick_wood',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'', 'mcl_tools:stick', ''},
{'', 'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_stone',
recipe = {
{'mcl_tools:cobble', 'mcl_tools:cobble', 'mcl_tools:cobble'},
{'', 'mcl_tools:stick', ''},
{'', 'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_iron',
recipe = {
{'mcl_tools:iron_ingot', 'mcl_tools:iron_ingot', 'mcl_tools:iron_ingot'},
{'', 'mcl_tools:stick', ''},
{'', 'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_gold',
recipe = {
{'mcl_tools:gold_ingot', 'mcl_tools:gold_ingot', 'mcl_tools:gold_ingot'},
{'', 'mcl_tools:stick', ''},
{'', 'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_diamond',
recipe = {
{'mcl_tools:diamond', 'mcl_tools:diamond', 'mcl_tools:diamond'},
{'', 'mcl_tools:stick', ''},
{'', 'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_wood',
recipe = {
{'group:wood'},
{'mcl_tools:stick'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_stone',
recipe = {
{'mcl_tools:cobble'},
{'mcl_tools:stick'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_iron',
recipe = {
{'mcl_tools:iron_ingot'},
{'mcl_tools:stick'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_gold',
recipe = {
{'mcl_tools:gold_ingot'},
{'mcl_tools:stick'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_diamond',
recipe = {
{'mcl_tools:diamond'},
{'mcl_tools:stick'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_wood',
recipe = {
{'group:wood', 'group:wood'},
{'group:wood', 'mcl_tools:stick'},
{'', 'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_wood',
recipe = {
{'group:wood', 'group:wood'},
{'mcl_tools:stick', 'group:wood'},
{'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_stone',
recipe = {
{'mcl_tools:cobble', 'mcl_tools:cobble'},
{'mcl_tools:cobble', 'mcl_tools:stick'},
{'', 'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_stone',
recipe = {
{'mcl_tools:cobble', 'mcl_tools:cobble'},
{'mcl_tools:stick', 'mcl_tools:cobble'},
{'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_iron',
recipe = {
{'mcl_tools:iron_ingot', 'mcl_tools:iron_ingot'},
{'mcl_tools:iron_ingot', 'mcl_tools:stick'},
{'', 'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_iron',
recipe = {
{'mcl_tools:iron_ingot', 'mcl_tools:iron_ingot'},
{'mcl_tools:stick', 'mcl_tools:iron_ingot'},
{'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_gold',
recipe = {
{'mcl_tools:gold_ingot', 'mcl_tools:gold_ingot'},
{'mcl_tools:gold_ingot', 'mcl_tools:stick'},
{'', 'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_gold',
recipe = {
{'mcl_tools:gold_ingot', 'mcl_tools:gold_ingot'},
{'mcl_tools:stick', 'mcl_tools:gold_ingot'},
{'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_diamond',
recipe = {
{'mcl_tools:diamond', 'mcl_tools:diamond'},
{'mcl_tools:diamond', 'mcl_tools:stick'},
{'', 'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_diamond',
recipe = {
{'mcl_tools:diamond', 'mcl_tools:diamond'},
{'mcl_tools:stick', 'mcl_tools:diamond'},
{'mcl_tools:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_wood',
recipe = {
{'group:wood'},
{'group:wood'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_stone',
recipe = {
{'mcl_tools:cobble'},
{'mcl_tools:cobble'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_iron',
recipe = {
{'mcl_tools:iron_ingot'},
{'mcl_tools:iron_ingot'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_gold',
recipe = {
{'mcl_tools:gold_ingot'},
{'mcl_tools:gold_ingot'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_diamond',
recipe = {
{'mcl_tools:diamond'},
{'mcl_tools:diamond'},
{'mcl_tools:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shears',
recipe = {
{ 'mcl_tools:iron_ingot', '' },
{ '', 'mcl_tools:iron_ingot', },
}
})
minetest.register_craft({
output = 'mcl_tools:shears',
recipe = {
{ '', 'mcl_tools:iron_ingot', },
{ 'mcl_tools:iron_ingot', '' },
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:pick_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:shovel_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:sword_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:axe_wood",
burntime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:gold_nugget",
recipe = "mcl_tools:sword_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:gold_nugget",
recipe = "mcl_tools:axe_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:gold_nugget",
recipe = "mcl_tools:shovel_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:gold_nugget",
recipe = "mcl_tools:pick_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:iron_nugget",
recipe = "mcl_tools:sword_iron",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:iron_nugget",
recipe = "mcl_tools:axe_iron",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:iron_nugget",
recipe = "mcl_tools:shovel_iron",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
output = "mcl_tools:iron_nugget",
recipe = "mcl_tools:pick_iron",
cooktime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:pick_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:shovel_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:sword_wood",
burntime = 10,
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_tools:axe_wood",
burntime = 10,
})