minetest-mods/farming/utensils.lua

161 lines
3.4 KiB
Lua
Raw Normal View History

2019-12-14 17:47:31 +01:00
local S = farming.intllib
-- wooden bowl
minetest.register_craftitem("farming:bowl", {
description = S("Wooden Bowl"),
inventory_image = "farming_bowl.png",
2021-05-16 18:01:50 +02:00
groups = {food_bowl = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:bowl 4",
recipe = {
{"group:wood", "", "group:wood"},
2021-05-16 18:01:50 +02:00
{"", "group:wood", ""}
2019-12-14 17:47:31 +01:00
}
})
minetest.register_craft({
type = "fuel",
recipe = "farming:bowl",
2021-05-16 18:01:50 +02:00
burntime = 10
2019-12-14 17:47:31 +01:00
})
-- saucepan
minetest.register_craftitem("farming:saucepan", {
description = S("Saucepan"),
inventory_image = "farming_saucepan.png",
2021-05-16 18:01:50 +02:00
groups = {food_saucepan = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:saucepan",
recipe = {
{"default:steel_ingot", "", ""},
2021-05-16 18:01:50 +02:00
{"", "group:stick", ""}
2019-12-14 17:47:31 +01:00
}
})
-- cooking pot
minetest.register_craftitem("farming:pot", {
description = S("Cooking Pot"),
inventory_image = "farming_pot.png",
2021-05-16 18:01:50 +02:00
groups = {food_pot = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:pot",
recipe = {
{"group:stick", "default:steel_ingot", "default:steel_ingot"},
2021-05-16 18:01:50 +02:00
{"", "default:steel_ingot", "default:steel_ingot"}
2019-12-14 17:47:31 +01:00
}
})
-- baking tray
minetest.register_craftitem("farming:baking_tray", {
description = S("Baking Tray"),
inventory_image = "farming_baking_tray.png",
2021-05-16 18:01:50 +02:00
groups = {food_baking_tray = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:baking_tray",
recipe = {
{"default:clay_brick", "default:clay_brick", "default:clay_brick"},
{"default:clay_brick", "", "default:clay_brick"},
2021-05-16 18:01:50 +02:00
{"default:clay_brick", "default:clay_brick", "default:clay_brick"}
2019-12-14 17:47:31 +01:00
}
})
-- skillet
minetest.register_craftitem("farming:skillet", {
description = S("Skillet"),
inventory_image = "farming_skillet.png",
2021-05-16 18:01:50 +02:00
groups = {food_skillet = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:skillet",
recipe = {
{"default:steel_ingot", "", ""},
{"", "default:steel_ingot", ""},
2021-05-16 18:01:50 +02:00
{"", "", "group:stick"}
2019-12-14 17:47:31 +01:00
}
})
-- mortar and pestle
minetest.register_craftitem("farming:mortar_pestle", {
description = S("Mortar and Pestle"),
inventory_image = "farming_mortar_pestle.png",
2021-05-16 18:01:50 +02:00
groups = {food_mortar_pestle = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:mortar_pestle",
recipe = {
{"default:stone", "group:stick", "default:stone"},
2021-05-16 18:01:50 +02:00
{"", "default:stone", ""}
2019-12-14 17:47:31 +01:00
}
})
-- cutting board
minetest.register_craftitem("farming:cutting_board", {
description = S("Cutting Board"),
inventory_image = "farming_cutting_board.png",
2021-05-16 18:01:50 +02:00
groups = {food_cutting_board = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:cutting_board",
recipe = {
{"default:steel_ingot", "", ""},
{"", "group:stick", ""},
2021-05-16 18:01:50 +02:00
{"", "", "group:wood"}
2019-12-14 17:47:31 +01:00
}
})
-- juicer
minetest.register_craftitem("farming:juicer", {
description = S("Juicer"),
inventory_image = "farming_juicer.png",
2021-05-16 18:01:50 +02:00
groups = {food_juicer = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:juicer",
recipe = {
{"", "default:stone", ""},
2021-05-16 18:01:50 +02:00
{"default:stone", "", "default:stone"}
2019-12-14 17:47:31 +01:00
}
})
-- glass mixing bowl
minetest.register_craftitem("farming:mixing_bowl", {
description = S("Glass Mixing Bowl"),
inventory_image = "farming_mixing_bowl.png",
2021-05-16 18:01:50 +02:00
groups = {food_mixing_bowl = 1, flammable = 2}
2019-12-14 17:47:31 +01:00
})
minetest.register_craft({
output = "farming:mixing_bowl",
recipe = {
{"default:glass", "group:stick", "default:glass"},
2021-05-16 18:01:50 +02:00
{"", "default:glass", ""}
2019-12-14 17:47:31 +01:00
}
})
minetest.register_craft( {
output = "vessels:glass_fragments",
2021-05-16 18:01:50 +02:00
recipe = {{"farming:mixing_bowl"}}
2019-12-14 17:47:31 +01:00
})