2017-02-01 01:32:56 +03:00
|
|
|
-- mods/default/crafting.lua
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Crafting definition
|
|
|
|
--
|
|
|
|
|
2021-05-25 23:00:06 +03:00
|
|
|
local function craft_planks(output, input)
|
2021-05-10 12:40:16 +03:00
|
|
|
minetest.register_craft({
|
2021-05-10 13:06:34 +03:00
|
|
|
output = "mcl_core:"..output.."wood 4",
|
2021-05-10 12:40:16 +03:00
|
|
|
recipe = {
|
2021-05-10 13:06:34 +03:00
|
|
|
{"mcl_core:"..input},
|
2021-05-10 12:40:16 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2017-02-01 01:32:56 +03:00
|
|
|
|
2021-05-14 18:00:34 +03:00
|
|
|
local planks = {
|
|
|
|
{"", "oak"},
|
|
|
|
{"dark", "dark_oak"},
|
|
|
|
{"jungle", "jungle"},
|
|
|
|
{"acacia", "acacia"},
|
|
|
|
{"spruce", "spruce"},
|
|
|
|
{"birch", "birch"}
|
|
|
|
}
|
|
|
|
|
|
|
|
for _, p in pairs(planks) do
|
|
|
|
craft_planks(p[1], p[1].."tree")
|
|
|
|
craft_planks(p[1], p[1].."tree_bark")
|
|
|
|
craft_planks(p[1], "stripped_"..p[2])
|
|
|
|
craft_planks(p[1], "stripped_"..p[2].."_bark")
|
|
|
|
end
|
2017-02-01 01:32:56 +03:00
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
type = "shapeless",
|
|
|
|
output = "mcl_core:mossycobble",
|
|
|
|
recipe = { "mcl_core:cobble", "mcl_core:vine" },
|
2017-02-01 01:32:56 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
type = "shapeless",
|
|
|
|
output = "mcl_core:stonebrickmossy",
|
|
|
|
recipe = { "mcl_core:stonebrick", "mcl_core:vine" },
|
2017-02-01 01:32:56 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:coarse_dirt 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:dirt", "mcl_core:gravel"},
|
|
|
|
{"mcl_core:gravel", "mcl_core:dirt"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:coarse_dirt 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:gravel", "mcl_core:dirt"},
|
|
|
|
{"mcl_core:dirt", "mcl_core:gravel"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:sandstonesmooth 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:sandstone","mcl_core:sandstone"},
|
|
|
|
{"mcl_core:sandstone","mcl_core:sandstone"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:redsandstonesmooth 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:redsandstone","mcl_core:redsandstone"},
|
|
|
|
{"mcl_core:redsandstone","mcl_core:redsandstone"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:granite_smooth 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:granite", "mcl_core:granite"},
|
|
|
|
{"mcl_core:granite", "mcl_core:granite"}
|
2017-02-01 01:32:56 +03:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:andesite_smooth 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:andesite", "mcl_core:andesite"},
|
|
|
|
{"mcl_core:andesite", "mcl_core:andesite"}
|
2017-02-01 01:32:56 +03:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:diorite_smooth 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:diorite", "mcl_core:diorite"},
|
|
|
|
{"mcl_core:diorite", "mcl_core:diorite"}
|
2017-02-01 01:32:56 +03:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:granite",
|
|
|
|
recipe = {"mcl_core:diorite", "mcl_nether:quartz"},
|
2017-02-01 01:32:56 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:andesite 2",
|
|
|
|
recipe = {"mcl_core:diorite", "mcl_core:cobble"},
|
2017-02-01 01:32:56 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:diorite 2",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:cobble", "mcl_nether:quartz"},
|
|
|
|
{"mcl_nether:quartz", "mcl_core:cobble"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:diorite 2",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_nether:quartz", "mcl_core:cobble"},
|
|
|
|
{"mcl_core:cobble", "mcl_nether:quartz"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2017-02-01 19:59:15 +03:00
|
|
|
output = "mcl_core:bone_block",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
|
|
|
{ "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
|
|
|
|
{ "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
|
|
|
|
{ "mcl_dye:white", "mcl_dye:white", "mcl_dye:white" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_dye:white 9",
|
|
|
|
recipe = {
|
2017-02-06 19:22:21 +03:00
|
|
|
{ "mcl_core:bone_block" },
|
2017-02-01 01:32:56 +03:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:stick 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"group:wood"},
|
|
|
|
{"group:wood"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:coalblock",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:coal_lump", "mcl_core:coal_lump", "mcl_core:coal_lump"},
|
|
|
|
{"mcl_core:coal_lump", "mcl_core:coal_lump", "mcl_core:coal_lump"},
|
|
|
|
{"mcl_core:coal_lump", "mcl_core:coal_lump", "mcl_core:coal_lump"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:coal_lump 9",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:coalblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:ironblock",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
|
|
|
|
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
|
|
|
|
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:iron_ingot 9",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:ironblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:goldblock",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
|
|
|
{"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
|
|
|
{"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:gold_ingot 9",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:goldblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:gold_nugget 9",
|
|
|
|
recipe = {{"mcl_core:gold_ingot"}},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:iron_nugget 9",
|
2017-02-11 23:14:40 +03:00
|
|
|
recipe = {{"mcl_core:iron_ingot"}},
|
2017-02-01 01:32:56 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:gold_ingot",
|
|
|
|
recipe = {
|
|
|
|
{"mcl_core:gold_nugget", "mcl_core:gold_nugget", "mcl_core:gold_nugget"},
|
|
|
|
{"mcl_core:gold_nugget", "mcl_core:gold_nugget", "mcl_core:gold_nugget"},
|
|
|
|
{"mcl_core:gold_nugget", "mcl_core:gold_nugget", "mcl_core:gold_nugget"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2017-02-11 23:14:40 +03:00
|
|
|
output = "mcl_core:iron_ingot",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
|
|
|
{"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"},
|
|
|
|
{"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"},
|
|
|
|
{"mcl_core:iron_nugget", "mcl_core:iron_nugget", "mcl_core:iron_nugget"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2017-07-26 20:34:47 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:iron_nugget",
|
2022-05-26 00:25:15 +03:00
|
|
|
recipe = "mcl_mobitems:iron_horse_armor",
|
2017-07-26 20:34:47 +03:00
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:gold_nugget",
|
2022-05-26 00:25:15 +03:00
|
|
|
recipe = "mcl_mobitems:gold_horse_armor",
|
2017-07-26 20:34:47 +03:00
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:sandstone",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:sand", "mcl_core:sand"},
|
|
|
|
{"mcl_core:sand", "mcl_core:sand"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:redsandstone",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:redsand", "mcl_core:redsand"},
|
|
|
|
{"mcl_core:redsand", "mcl_core:redsand"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:clay",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:clay_lump", "mcl_core:clay_lump"},
|
|
|
|
{"mcl_core:clay_lump", "mcl_core:clay_lump"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:brick_block",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:brick", "mcl_core:brick"},
|
|
|
|
{"mcl_core:brick", "mcl_core:brick"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:paper 3",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:reeds", "mcl_core:reeds", "mcl_core:reeds"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:ladder 3",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:stick", "", "mcl_core:stick"},
|
|
|
|
{"mcl_core:stick", "mcl_core:stick", "mcl_core:stick"},
|
|
|
|
{"mcl_core:stick", "", "mcl_core:stick"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:stonebrick 4",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:stone", "mcl_core:stone"},
|
|
|
|
{"mcl_core:stone", "mcl_core:stone"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:lapisblock",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_dye:blue", "mcl_dye:blue", "mcl_dye:blue"},
|
|
|
|
{"mcl_dye:blue", "mcl_dye:blue", "mcl_dye:blue"},
|
|
|
|
{"mcl_dye:blue", "mcl_dye:blue", "mcl_dye:blue"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_dye:blue 9",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:lapisblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:emeraldblock",
|
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:emerald", "mcl_core:emerald", "mcl_core:emerald"},
|
|
|
|
{"mcl_core:emerald", "mcl_core:emerald", "mcl_core:emerald"},
|
|
|
|
{"mcl_core:emerald", "mcl_core:emerald", "mcl_core:emerald"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:emerald 9",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:emeraldblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:diamondblock",
|
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:diamond", "mcl_core:diamond", "mcl_core:diamond"},
|
|
|
|
{"mcl_core:diamond", "mcl_core:diamond", "mcl_core:diamond"},
|
|
|
|
{"mcl_core:diamond", "mcl_core:diamond", "mcl_core:diamond"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:diamond 9",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:diamondblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:apple_gold",
|
|
|
|
recipe = {
|
|
|
|
{"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:gold_ingot", "mcl_core:apple", "mcl_core:gold_ingot"},
|
2017-02-01 01:32:56 +03:00
|
|
|
{"mcl_core:gold_ingot", "mcl_core:gold_ingot", "mcl_core:gold_ingot"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:sugar",
|
|
|
|
recipe = {
|
|
|
|
{"mcl_core:reeds"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mcl_core:bowl 4",
|
|
|
|
recipe = {
|
|
|
|
{"group:wood", "", "group:wood"},
|
|
|
|
{"", "group:wood", ""},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:snowblock",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_throwing:snowball", "mcl_throwing:snowball"},
|
|
|
|
{"mcl_throwing:snowball", "mcl_throwing:snowball"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2021-05-29 17:12:33 +03:00
|
|
|
output = "mcl_core:snow 6",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = {
|
2021-05-29 17:12:33 +03:00
|
|
|
{"mcl_core:snowblock", "mcl_core:snowblock", "mcl_core:snowblock"},
|
2017-02-01 01:32:56 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2021-11-24 08:06:26 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
output = 'mcl_core:packed_ice 1',
|
|
|
|
recipe = {
|
|
|
|
{'mcl_core:ice', 'mcl_core:ice', 'mcl_core:ice'},
|
|
|
|
{'mcl_core:ice', 'mcl_core:ice', 'mcl_core:ice'},
|
|
|
|
{'mcl_core:ice', 'mcl_core:ice', 'mcl_core:ice'},
|
|
|
|
}
|
|
|
|
})
|
2017-02-01 01:32:56 +03:00
|
|
|
|
|
|
|
--
|
|
|
|
-- Crafting (tool repair)
|
|
|
|
--
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "toolrepair",
|
2017-02-14 19:17:49 +03:00
|
|
|
additional_wear = -mcl_core.repair,
|
2017-02-01 01:32:56 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Cooking recipes
|
|
|
|
--
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:glass",
|
|
|
|
recipe = "group:sand",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:stone",
|
|
|
|
recipe = "mcl_core:cobble",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
2018-12-03 18:47:11 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:stone_smooth",
|
|
|
|
recipe = "mcl_core:stone",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:stonebrickcracked",
|
|
|
|
recipe = "mcl_core:stonebrick",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
2017-02-11 23:14:40 +03:00
|
|
|
output = "mcl_core:iron_ingot",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = "mcl_core:stone_with_iron",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:gold_ingot",
|
|
|
|
recipe = "mcl_core:stone_with_gold",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
2017-02-01 20:51:26 +03:00
|
|
|
output = "mcl_core:brick",
|
2017-02-01 01:32:56 +03:00
|
|
|
recipe = "mcl_core:clay_lump",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:charcoal_lump",
|
|
|
|
recipe = "group:tree",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:coal_lump",
|
|
|
|
recipe = "mcl_core:stone_with_coal",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:diamond",
|
|
|
|
recipe = "mcl_core:stone_with_diamond",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_core:emerald",
|
|
|
|
recipe = "mcl_core:stone_with_emerald",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mcl_dye:blue",
|
|
|
|
recipe = "mcl_core:stone_with_lapis",
|
|
|
|
cooktime = 10,
|
|
|
|
})
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Fuels
|
|
|
|
--
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_core:coalblock",
|
|
|
|
burntime = 800,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_core:coal_lump",
|
|
|
|
burntime = 80,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_core:charcoal_lump",
|
|
|
|
burntime = 80,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:tree",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
2020-04-08 14:15:22 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:bark",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_core:ladder",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:wood",
|
|
|
|
burntime = 15,
|
|
|
|
})
|
|
|
|
|
2017-02-13 16:33:16 +03:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:sapling",
|
|
|
|
burntime = 5,
|
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "group:sapling",
|
|
|
|
burntime = 5,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_core:bowl",
|
|
|
|
burntime = 5,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "mcl_core:stick",
|
|
|
|
burntime = 5,
|
|
|
|
})
|