726 lines
13 KiB
Lua
Raw Normal View History

2016-02-07 03:24:38 +02:00
-- mods/default/crafting.lua
minetest.register_craft({
output = 'default:wood 4',
recipe = {
{'default:tree'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:junglewood 4',
recipe = {
{'default:jungletree'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:pine_wood 4',
recipe = {
{'default:pine_tree'},
}
})
minetest.register_craft({
output = 'default:acacia_wood 4',
recipe = {
{'default:acacia_tree'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:mossycobble',
recipe = {
{'default:cobble', 'default:vine'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:stonebrickmossy',
recipe = {
{'default:stonebrick', 'default:vine'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:stick 4',
recipe = {
{'group:wood'},
{'group:wood'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'signs:sign 3',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
{'', 'default:stick', ''},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:torch 4',
recipe = {
{'default:coal_lump'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:torch 4',
recipe = {
{'default:charcoal_lump'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:pick_wood',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:pick_stone',
recipe = {
{'group:stone', 'group:stone', 'group:stone'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:pick_steel',
recipe = {
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:pick_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot', 'default:gold_ingot'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:diamondblock',
recipe = {
{'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({
output = 'default:diamond 9',
recipe = {
{'default:diamondblock'},
}
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
output = 'default:pick_diamond',
recipe = {
{'default:diamond', 'default:diamond', 'default:diamond'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:shovel_wood',
recipe = {
{'group:wood'},
{'default:stick'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:shovel_stone',
recipe = {
{'group:stone'},
{'default:stick'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:shovel_steel',
recipe = {
{'default:steel_ingot'},
{'default:stick'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:shovel_gold',
recipe = {
{'default:gold_ingot'},
{'default:stick'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:shovel_diamond',
recipe = {
{'default:diamond'},
{'default:stick'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:axe_wood',
recipe = {
{'group:wood', 'group:wood'},
{'group:wood', 'default:stick'},
{'', 'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:axe_stone',
recipe = {
{'group:stone', 'group:stone'},
{'group:stone', 'default:stick'},
{'', 'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:axe_steel',
recipe = {
{'default:steel_ingot', 'default:steel_ingot'},
{'default:steel_ingot', 'default:stick'},
{'', 'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:axe_gold',
recipe = {
{'default:gold_ingot', 'default:gold_ingot'},
{'default:gold_ingot', 'default:stick'},
{'', 'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:axe_diamond',
recipe = {
{'default:diamond', 'default:diamond'},
{'default:diamond', 'default:stick'},
{'', 'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:sword_wood',
recipe = {
{'group:wood'},
{'group:wood'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:sword_stone',
recipe = {
{'group:stone'},
{'group:stone'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:sword_steel',
recipe = {
{'default:steel_ingot'},
{'default:steel_ingot'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:sword_gold',
recipe = {
{'default:gold_ingot'},
{'default:gold_ingot'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:sword_diamond',
recipe = {
{'default:diamond'},
{'default:diamond'},
{'default:stick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:pole",
recipe = {
{'','','default:stick'},
{'','default:stick','farming:string'},
{'default:stick','','farming:string'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:chest',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', '', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:furnace',
recipe = {
{'group:stone', 'group:stone', 'group:stone'},
{'group:stone', '', 'group:stone'},
{'group:stone', 'group:stone', 'group:stone'},
}
2016-02-07 03:24:38 +02:00
})
2019-06-26 20:23:16 +02:00
minetest.register_craft({
output = 'default:coalblock',
recipe = {
{'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'},
}
})
minetest.register_craft({
output = 'default:coal_lump 9',
recipe = {
{'default:coalblock'},
}
})
2016-02-07 03:24:38 +02:00
minetest.register_craft({
output = 'default:haybale',
recipe = {
{'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'},
{'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'},
{'farming:wheat_harvested', 'farming:wheat_harvested', 'farming:wheat_harvested'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'farming:wheat_harvested 9',
recipe = {
{'default:haybale'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:steelblock',
recipe = {
{'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({
output = 'default:steel_ingot 9',
recipe = {
{'default:steelblock'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:goldblock',
recipe = {
{'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({
output = 'default:gold_ingot 9',
recipe = {
{'default:goldblock'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:sandstone',
recipe = {
{'group:sand', 'group:sand'},
{'group:sand', 'group:sand'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:clay',
recipe = {
{'default:clay_lump', 'default:clay_lump'},
{'default:clay_lump', 'default:clay_lump'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:brick',
recipe = {
{'default:clay_brick', 'default:clay_brick'},
{'default:clay_brick', 'default:clay_brick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:clay_brick 4',
recipe = {
{'default:brick'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:paper',
recipe = {
{'default:sugarcane', 'default:sugarcane', 'default:sugarcane'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:book',
recipe = {
{'default:paper'},
{'default:paper'},
{'default:paper'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:bookshelf',
recipe = {
{'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({
output = 'default:ladder',
recipe = {
{'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({
output = 'default:stonebrick',
recipe = {
{'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 = {
'default:sand',
'default:gravel',
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'dye:white 3',
recipe = {
{'default:bone'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:lapisblock',
recipe = {
{'dye:blue', 'dye:blue', 'dye:blue'},
{'dye:blue', 'dye:blue', 'dye:blue'},
{'dye:blue', 'dye:blue', 'dye:blue'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'dye:blue 9',
recipe = {
{'default:lapisblock'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:emeraldblock",
recipe = {
{'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({
output = 'default:emerald 9',
recipe = {
{'default:emeraldblock'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = "default:glowstone",
recipe = {
{'default:glowstone_dust', 'default:glowstone_dust'},
{'default:glowstone_dust', 'default:glowstone_dust'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:glowstone_dust 4',
recipe = {
{'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"},
{"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({
output = 'default:snowblock',
recipe = {
{'default:snow', 'default:snow', 'default:snow'},
{'default:snow', 'default:snow', 'default:snow'},
{'default:snow', 'default:snow', 'default:snow'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:snow 9',
recipe = {
{'default:snowblock'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:quartz_block',
recipe = {
{'default:quartz_crystal', 'default:quartz_crystal'},
{'default:quartz_crystal', 'default:quartz_crystal'},
}
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
output = 'default:quartz_pillar 2',
recipe = {
{'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
})
2019-05-23 15:17:23 +02:00
minetest.register_craft({
output = "farming:string",
recipe = {{"default:paper", "default:paper"}},
})
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",
recipe = "default:bookshelf",
burntime = 15,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "default:fence_wood",
burntime = 15,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
recipe = "group:wood",
burntime = 15,
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
})
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",
recipe = "default:stick",
burntime = 5,
2016-02-07 03:24:38 +02:00
})
minetest.register_craft({
type = "fuel",
2019-05-23 15:17:23 +02:00
recipe = "workbench:workbench",
burntime = 15,
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
})