nalc/nalc_default/crafting.lua
sys4 c1da66a893 Corrige les seaux d'acide et de sable.
La récolte de d'une source d'acide ou de sable mouvant avec un seau
vide donnait un "unknown item".
2019-04-07 13:14:04 +02:00

109 lines
2.0 KiB
Lua

-- stick
--[[minetest.clear_craft({ output = "default:stick" })
minetest.register_craft(
{
output = "default:stick 4",
recipe = {
{"group:wood"},
}
})
]]
-- Tools
minetest.register_craft(
{ output = 'nalc:pick_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft(
{ output = 'nalc:shovel_gold',
recipe = {
{'default:gold_ingot'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft(
{ output = "nalc:axe_gold",
recipe = {
{"default:gold_ingot", "default:gold_ingot"},
{"default:gold_ingot", "group:stick"},
{"", "group:stick"},
}
})
minetest.register_craft(
{ output = "nalc:sword_gold",
recipe = {
{"default:gold_ingot"},
{"default:gold_ingot"},
{"group:stick"},
}
})
minetest.register_craft(
{ output = "default:cactus 2",
recipe = {
{"nalc:cactus_spiky", "nalc:cactus_spiky"},
},
})
minetest.register_craft(
{ output = "nalc:cactus_spiky 2",
recipe = {
{"default:cactus", "default:cactus"},
},
})
minetest.register_craft(
{ output = "nalc:ladder_obsidian 4",
recipe = {
{"default:obsidianbrick", "", "default:obsidianbrick"},
{"default:obsidianbrick", "default:obsidianbrick", "default:obsidianbrick"},
{"default:obsidianbrick", "", "default:obsidianbrick"}
}
})
minetest.register_craft(
{
output = "default:desert_sand",
recipe = {
{"default:sand"}
}
})
minetest.register_craft(
{
output = "default:sand",
recipe = {
{"default:gravel"}
}
})
minetest.register_craft(
{
output = "default:dirt 4",
type = "shapeless",
recipe = {"default:gravel", "default:gravel", "default:gravel", "default:gravel"}
})
minetest.register_craft(
{
output = "default:gravel",
recipe = {
{"default:cobble"}
}
})
minetest.register_craft(
{
output = "default:desert_stone",
type = "cooking",
recipe = "default:desert_sandstone"
})