nalc/nalc_default/crafting.lua

109 lines
2.0 KiB
Lua
Raw Normal View History

2018-09-21 22:26:26 +02:00
-- stick
2018-11-03 15:12:44 +01:00
--[[minetest.clear_craft({ output = "default:stick" })
2018-09-21 22:26:26 +02:00
minetest.register_craft(
{
2018-11-03 15:12:44 +01:00
output = "default:stick 4",
2018-09-21 22:26:26 +02:00
recipe = {
{"group:wood"},
}
})
2018-11-03 15:12:44 +01:00
]]
2018-09-21 22:26:26 +02:00
-- Tools
2018-08-27 21:25:56 +02:00
minetest.register_craft(
{ output = 'nalc_default:pick_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft(
{ output = 'nalc_default:shovel_gold',
recipe = {
{'default:gold_ingot'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft(
{ output = "nalc_default:axe_gold",
recipe = {
{"default:gold_ingot", "default:gold_ingot"},
{"default:gold_ingot", "group:stick"},
{"", "group:stick"},
}
})
minetest.register_craft(
{ output = "nalc_default:sword_gold",
recipe = {
{"default:gold_ingot"},
{"default:gold_ingot"},
{"group:stick"},
}
})
minetest.register_craft(
{ output = "default:cactus 2",
recipe = {
{"nalc_default:cactus_spiky", "nalc_default:cactus_spiky"},
},
})
minetest.register_craft(
{ output = "nalc_default:cactus_spiky 2",
recipe = {
{"default:cactus", "default:cactus"},
},
})
minetest.register_craft(
{ output = "nalc_default: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"
})