MineClone2/mods/ITEMS/mcl_tools/crafting.lua

339 lines
6.3 KiB
Lua
Raw Normal View History

minetest.register_craft({
output = 'mcl_tools:pick_wood',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
2017-02-27 20:25:56 +01:00
{'', 'mcl_core:stick', ''},
{'', 'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_stone',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:cobble', 'mcl_core:cobble', 'mcl_core:cobble'},
{'', 'mcl_core:stick', ''},
{'', 'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_iron',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:iron_ingot', 'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
{'', 'mcl_core:stick', ''},
{'', 'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_gold',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:gold_ingot', 'mcl_core:gold_ingot', 'mcl_core:gold_ingot'},
{'', 'mcl_core:stick', ''},
{'', 'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:pick_diamond',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:diamond', 'mcl_core:diamond', 'mcl_core:diamond'},
{'', 'mcl_core:stick', ''},
{'', 'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_wood',
recipe = {
{'group:wood'},
2017-02-27 20:25:56 +01:00
{'mcl_core:stick'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_stone',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:cobble'},
{'mcl_core:stick'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_iron',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:iron_ingot'},
{'mcl_core:stick'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_gold',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:gold_ingot'},
{'mcl_core:stick'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shovel_diamond',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:diamond'},
{'mcl_core:stick'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_wood',
recipe = {
{'group:wood', 'group:wood'},
2017-02-27 20:25:56 +01:00
{'group:wood', 'mcl_core:stick'},
{'', 'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_wood',
recipe = {
{'group:wood', 'group:wood'},
2017-02-27 20:25:56 +01:00
{'mcl_core:stick', 'group:wood'},
{'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_stone',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:cobble', 'mcl_core:cobble'},
{'mcl_core:cobble', 'mcl_core:stick'},
{'', 'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_stone',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:cobble', 'mcl_core:cobble'},
{'mcl_core:stick', 'mcl_core:cobble'},
{'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_iron',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot', 'mcl_core:stick'},
{'', 'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_iron',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:iron_ingot', 'mcl_core:iron_ingot'},
{'mcl_core:stick', 'mcl_core:iron_ingot'},
{'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_gold',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:gold_ingot', 'mcl_core:gold_ingot'},
{'mcl_core:gold_ingot', 'mcl_core:stick'},
{'', 'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_gold',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:gold_ingot', 'mcl_core:gold_ingot'},
{'mcl_core:stick', 'mcl_core:gold_ingot'},
{'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_diamond',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:diamond', 'mcl_core:diamond'},
{'mcl_core:diamond', 'mcl_core:stick'},
{'', 'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:axe_diamond',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:diamond', 'mcl_core:diamond'},
{'mcl_core:stick', 'mcl_core:diamond'},
{'mcl_core:stick', ''},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_wood',
recipe = {
{'group:wood'},
{'group:wood'},
2017-02-27 20:25:56 +01:00
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_stone',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:cobble'},
{'mcl_core:cobble'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_iron',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:iron_ingot'},
{'mcl_core:iron_ingot'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_gold',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:gold_ingot'},
{'mcl_core:gold_ingot'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:sword_diamond',
recipe = {
2017-02-27 20:25:56 +01:00
{'mcl_core:diamond'},
{'mcl_core:diamond'},
{'mcl_core:stick'},
}
})
minetest.register_craft({
output = 'mcl_tools:shears',
recipe = {
2017-02-27 20:25:56 +01:00
{ 'mcl_core:iron_ingot', '' },
{ '', 'mcl_core:iron_ingot', },
}
})
minetest.register_craft({
output = 'mcl_tools:shears',
recipe = {
2017-02-27 20:25:56 +01:00
{ '', 'mcl_core:iron_ingot', },
{ 'mcl_core: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",
2017-02-27 20:25:56 +01:00
output = "mcl_core:gold_nugget",
recipe = "mcl_tools:sword_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core:gold_nugget",
recipe = "mcl_tools:axe_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core:gold_nugget",
recipe = "mcl_tools:shovel_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core:gold_nugget",
recipe = "mcl_tools:pick_gold",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core:iron_nugget",
recipe = "mcl_tools:sword_iron",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core:iron_nugget",
recipe = "mcl_tools:axe_iron",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core:iron_nugget",
recipe = "mcl_tools:shovel_iron",
cooktime = 10,
})
minetest.register_craft({
type = "cooking",
2017-02-27 20:25:56 +01:00
output = "mcl_core: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,
})