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:pick_gold',
2018-08-27 21:25:56 +02:00
recipe = {
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft(
{ output = 'nalc:shovel_gold',
2018-08-27 21:25:56 +02:00
recipe = {
{'default:gold_ingot'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft(
{ output = "nalc:axe_gold",
2018-08-27 21:25:56 +02:00
recipe = {
{"default:gold_ingot", "default:gold_ingot"},
{"default:gold_ingot", "group:stick"},
{"", "group:stick"},
}
})
minetest.register_craft(
{ output = "nalc:sword_gold",
2018-08-27 21:25:56 +02:00
recipe = {
{"default:gold_ingot"},
{"default:gold_ingot"},
{"group:stick"},
}
})
minetest.register_craft(
{ output = "default:cactus 2",
recipe = {
{"nalc:cactus_spiky", "nalc:cactus_spiky"},
2018-08-27 21:25:56 +02:00
},
})
minetest.register_craft(
{ output = "nalc:cactus_spiky 2",
2018-08-27 21:25:56 +02:00
recipe = {
{"default:cactus", "default:cactus"},
},
})
minetest.register_craft(
{ output = "nalc:ladder_obsidian 4",
2018-08-27 21:25:56 +02:00
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"
})