141 lines
3.0 KiB
Lua
141 lines
3.0 KiB
Lua
|
|
local S = farming.intllib
|
|
|
|
-- saucepan
|
|
|
|
minetest.register_craftitem("farming:saucepan", {
|
|
description = S("Saucepan"),
|
|
inventory_image = "saucepan.png",
|
|
groups = {food_saucepan = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:saucepan",
|
|
recipe = {
|
|
{"default:durasteel_ingot", "", ""},
|
|
{"", "group:stick", ""}
|
|
}
|
|
})
|
|
|
|
-- cooking pot
|
|
|
|
minetest.register_craftitem("farming:pot", {
|
|
description = S("Cooking Pot"),
|
|
inventory_image = "pot.png",
|
|
groups = {food_pot = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:pot",
|
|
recipe = {
|
|
{"group:stick", "default:durasteel_ingot", "default:durasteel_ingot"},
|
|
{"", "default:durasteel_ingot", "default:durasteel_ingot"}
|
|
}
|
|
})
|
|
|
|
-- baking tray
|
|
|
|
minetest.register_craftitem("farming:baking_tray", {
|
|
description = S("Baking Tray"),
|
|
inventory_image = "baking_tray.png",
|
|
groups = {food_baking_tray = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:baking_tray",
|
|
recipe = {
|
|
{"default:clay_brick", "default:clay_brick", "default:clay_brick"},
|
|
{"default:clay_brick", "", "default:clay_brick"},
|
|
{"default:clay_brick", "default:clay_brick", "default:clay_brick"}
|
|
}
|
|
})
|
|
|
|
-- skillet
|
|
|
|
minetest.register_craftitem("farming:skillet", {
|
|
description = S("Skillet"),
|
|
inventory_image = "skillet.png",
|
|
groups = {food_skillet = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:skillet",
|
|
recipe = {
|
|
{"default:durasteel_ingot", "", ""},
|
|
{"", "default:durasteel_ingot", ""},
|
|
{"", "", "group:stick"}
|
|
}
|
|
})
|
|
|
|
-- mortar and pestle
|
|
|
|
minetest.register_craftitem("farming:mortar_pestle", {
|
|
description = S("Mortar and Pestle"),
|
|
inventory_image = "mortar_pestle.png",
|
|
groups = {food_mortar_pestle = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:mortar_pestle",
|
|
recipe = {
|
|
{"default:stone", "group:stick", "default:stone"},
|
|
{"", "default:stone", ""}
|
|
}
|
|
})
|
|
|
|
-- cutting board
|
|
|
|
minetest.register_craftitem("farming:cutting_board", {
|
|
description = S("Cutting Board"),
|
|
inventory_image = "cutting_board.png",
|
|
groups = {food_cutting_board = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:cutting_board",
|
|
recipe = {
|
|
{"default:durasteel_ingot", "", ""},
|
|
{"", "group:stick", ""},
|
|
{"", "", "group:wood"}
|
|
}
|
|
})
|
|
|
|
-- juicer
|
|
|
|
minetest.register_craftitem("farming:juicer", {
|
|
description = S("Juicer"),
|
|
inventory_image = "juicer.png",
|
|
groups = {food_juicer = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:juicer",
|
|
recipe = {
|
|
{"", "default:stone", ""},
|
|
{"default:stone", "", "default:stone"}
|
|
}
|
|
})
|
|
|
|
-- glass mixing bowl
|
|
|
|
minetest.register_craftitem("farming:mixing_bowl", {
|
|
description = S("Glass Mixing Bowl"),
|
|
inventory_image = "mixing_bowl.png",
|
|
groups = {food_mixing_bowl = 1, flammable = 2}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "farming:mixing_bowl",
|
|
recipe = {
|
|
{"default:glass", "group:stick", "default:glass"},
|
|
{"", "default:glass", ""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft( {
|
|
type = "shapeless",
|
|
output = "vessels:glass_fragments",
|
|
recipe = {
|
|
"farming:mixing_bowl"
|
|
}
|
|
}) |