728 lines
13 KiB
Lua
Raw Normal View History

2016-02-07 03:24:38 +02:00
-- mods/default/crafting.lua
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:wood 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:tree"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:junglewood 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:jungletree"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:pine_wood 4",
2016-02-07 03:24:38 +02:00
recipe = {
2019-07-07 20:40:09 +02:00
{"default:pine_tree"},
2016-02-07 03:24:38 +02:00
}
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:acacia_wood 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:acacia_tree"},
}
2016-02-07 03:24:38 +02:00
})
2019-07-10 12:26:20 +02:00
minetest.register_craft({
output = "default:birch_wood 4",
recipe = {
{"default:birch_tree"},
}
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:mossycobble",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:cobble", "default:vine"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:stonebrickmossy",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:stonebrick", "default:vine"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:stick 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood"},
{"group:wood"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:torch 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:coal_lump"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:torch 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:charcoal_lump"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:pick_wood",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood", "group:wood", "group:wood"},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:pick_stone",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:stone", "group:stone", "group:stone"},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:pick_steel",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:pick_gold",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:diamondblock",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:diamond", "default:diamond", "default:diamond"},
{"default:diamond", "default:diamond", "default:diamond"},
{"default:diamond", "default:diamond", "default:diamond"},
}
2016-02-07 03:24:38 +02:00
})
2019-06-26 20:23:16 +02:00
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:diamond 9",
2019-06-26 20:23:16 +02:00
recipe = {
2019-07-07 20:40:09 +02:00
{"default:diamondblock"},
2019-06-26 20:23:16 +02:00
}
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:pick_diamond",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:diamond", "default:diamond", "default:diamond"},
{"", "default:stick", ""},
{"", "default:stick", ""},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:shovel_wood",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood"},
{"default:stick"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:shovel_stone",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:stone"},
{"default:stick"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:shovel_steel",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:steel_ingot"},
{"default:stick"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:shovel_gold",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:gold_ingot"},
{"default:stick"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:shovel_diamond",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:diamond"},
{"default:stick"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:axe_wood",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood", "group:wood"},
{"group:wood", "default:stick"},
{"", "default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:axe_stone",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:stone", "group:stone"},
{"group:stone", "default:stick"},
{"", "default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:axe_steel",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:steel_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:stick"},
{"", "default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:axe_gold",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:gold_ingot", "default:gold_ingot"},
{"default:gold_ingot", "default:stick"},
{"", "default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:axe_diamond",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:diamond", "default:diamond"},
{"default:diamond", "default:stick"},
{"", "default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:sword_wood",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood"},
{"group:wood"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:sword_stone",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:stone"},
{"group:stone"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:sword_steel",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:steel_ingot"},
{"default:steel_ingot"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:sword_gold",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:gold_ingot"},
{"default:gold_ingot"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:sword_diamond",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:diamond"},
{"default:diamond"},
{"default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:pole",
recipe = {
2019-07-07 20:40:09 +02:00
{"","","default:stick"},
{"","default:stick","farming:string"},
{"default:stick","","farming:string"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:chest",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "", "group:wood"},
{"group:wood", "group:wood", "group:wood"},
}
2016-02-07 03:24:38 +02:00
})
2019-06-26 20:23:16 +02:00
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:furnace",
2019-06-26 20:23:16 +02:00
recipe = {
2019-07-07 20:40:09 +02:00
{"group:stone", "group:stone", "group:stone"},
{"group:stone", "", "group:stone"},
{"group:stone", "group:stone", "group:stone"},
2019-06-26 20:23:16 +02:00
}
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:coalblock",
2019-06-26 20:23:16 +02:00
recipe = {
2019-07-07 20:40:09 +02:00
{"default:coal_lump", "default:coal_lump", "default:coal_lump"},
{"default:coal_lump", "default:coal_lump", "default:coal_lump"},
{"default:coal_lump", "default:coal_lump", "default:coal_lump"},
2019-06-26 20:23:16 +02:00
}
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:coal_lump 9",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:coalblock"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:steelblock",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:steel_ingot 9",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:steelblock"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:goldblock",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:gold_ingot 9",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:goldblock"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:sandstone",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:sand", "group:sand"},
{"group:sand", "group:sand"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:clay",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:clay_lump", "default:clay_lump"},
{"default:clay_lump", "default:clay_lump"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:brick",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:clay_brick", "default:clay_brick"},
{"default:clay_brick", "default:clay_brick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:clay_brick 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:brick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:paper",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:sugarcane", "default:sugarcane", "default:sugarcane"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:book",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:paper"},
{"default:paper"},
{"default:paper"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:bookshelf",
recipe = {
2019-07-07 20:40:09 +02:00
{"group:wood", "group:wood", "group:wood"},
{"default:book", "default:book", "default:book"},
{"group:wood", "group:wood", "group:wood"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:ladder",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:stick", "", "default:stick"},
{"default:stick", "default:stick", "default:stick"},
{"default:stick", "", "default:stick"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:stonebrick",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:stone", "default:stone"},
{"default:stone", "default:stone"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "shapeless",
output = "default:gunpowder",
recipe = {
2019-07-07 20:40:09 +02:00
"default:sand",
"default:gravel",
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:emeraldblock",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:emerald", "default:emerald", "default:emerald"},
{"default:emerald", "default:emerald", "default:emerald"},
{"default:emerald", "default:emerald", "default:emerald"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:emerald 9",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:emeraldblock"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:glowstone",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:glowstone_dust", "default:glowstone_dust"},
{"default:glowstone_dust", "default:glowstone_dust"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:glowstone_dust 4",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:glowstone"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:apple_gold",
recipe = {
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
2019-07-07 20:40:09 +02:00
{"default:gold_ingot", "default:apple", "default:gold_ingot"},
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:sugar",
recipe = {
{"default:sugarcane"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:snowblock",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:snowball", "default:snowball", "default:snowball"},
{"default:snowball", "default:snowball", "default:snowball"},
{"default:snowball", "default:snowball", "default:snowball"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:snowball 9",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:snowblock"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:quartz_block",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:quartz_crystal", "default:quartz_crystal"},
{"default:quartz_crystal", "default:quartz_crystal"},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
2019-07-07 20:40:09 +02:00
output = "default:quartz_pillar 2",
recipe = {
2019-07-07 20:40:09 +02:00
{"default:quartz_block"},
{"default:quartz_block"},
}
2016-02-07 03:24:38 +02:00
})
--
-- Cooking recipes
--
minetest.register_craft({
type = "cooking",
output = "default:glass",
recipe = "group:sand",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:stone",
recipe = "default:cobble",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:steel_ingot",
recipe = "default:stone_with_iron",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:gold_ingot",
recipe = "default:stone_with_gold",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:clay_brick",
recipe = "default:clay_lump",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:hardened_clay",
recipe = "default:clay",
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
type = "cooking",
output = "default:fish",
recipe = "default:fish_raw",
2016-02-07 03:24:38 +02:00
-- cooktime = 2,
})
minetest.register_craft({
type = "cooking",
output = "default:charcoal_lump",
recipe = "group:tree",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:steak",
recipe = "default:beef_raw",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:chicken_cooked",
recipe = "default:chicken_raw",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:coal_lump",
recipe = "default:stone_with_coal",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:diamond",
recipe = "default:stone_with_diamond",
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "cooking",
output = "default:stonebrickcracked",
recipe = "default:stonebrick",
2016-02-07 03:24:38 +02:00
})
--
-- Fuels
--
minetest.register_craft({
type = "fuel",
recipe = "group:tree",
burntime = 15,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-07-07 20:40:09 +02:00
recipe = "default:fence_wood",
burntime = 15,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-07-07 20:40:09 +02:00
recipe = "group:wood",
burntime = 15,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-07-07 20:40:09 +02:00
recipe = "group:leaves",
burntime = 5,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "bucket:bucket_lava",
burntime = 1000,
2016-02-07 03:24:38 +02:00
})
2019-07-07 20:40:09 +02:00
minetest.register_craft({
type = "fuel",
recipe = "default:bookshelf",
burntime = 30,
})
minetest.register_craft({
type = "fuel",
recipe = "default:torch",
burntime = 7,
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
type = "fuel",
recipe = "default:chest",
burntime = 15,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-05-23 15:17:23 +02:00
recipe = "group:sapling",
burntime = 5,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "default:coal_block",
burntime = 800,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "default:coal_lump",
burntime = 80,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "default:charcoal_lump",
burntime = 80,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "default:junglesapling",
burntime = 5,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-07-07 20:40:09 +02:00
recipe = "default:chest",
burntime = 15,
})
minetest.register_craft({
type = "fuel",
recipe = "default:book",
burntime = 5,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-07-07 20:40:09 +02:00
recipe = "default:book_written",
burntime = 5,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-07-07 20:40:09 +02:00
recipe = "default:dry_shrub",
burntime = 5,
})
minetest.register_craft({
type = "fuel",
recipe = "group:stick",
burntime = 3,
})
minetest.register_craft({
type = "fuel",
recipe = "default:pick_wood",
burntime = 6,
})
minetest.register_craft({
type = "fuel",
recipe = "default:shovel_wood",
burntime = 4,
})
minetest.register_craft({
type = "fuel",
recipe = "default:axe_wood",
burntime = 6,
})
minetest.register_craft({
type = "fuel",
recipe = "default:sword_wood",
burntime = 5,
2016-02-07 03:24:38 +02:00
})