1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-28 11:40:16 +01:00
farming/utensils.lua

161 lines
3.4 KiB
Lua
Raw Normal View History

2018-03-21 11:51:12 +01:00
local S = farming.intllib
-- wooden bowl
2018-03-21 11:51:12 +01:00
minetest.register_craftitem("farming:bowl", {
description = S("Wooden Bowl"),
inventory_image = "farming_bowl.png",
2020-07-02 15:31:12 +02:00
groups = {food_bowl = 1, flammable = 2}
2018-03-21 11:51:12 +01:00
})
minetest.register_craft({
output = "farming:bowl 4",
recipe = {
{"group:wood", "", "group:wood"},
2020-07-02 15:31:12 +02:00
{"", "group:wood", ""}
2018-03-21 11:51:12 +01:00
}
})
minetest.register_craft({
type = "fuel",
recipe = "farming:bowl",
2021-05-04 10:06:08 +02:00
burntime = 10
})
-- saucepan
minetest.register_craftitem("farming:saucepan", {
description = S("Saucepan"),
inventory_image = "farming_saucepan.png",
2020-07-02 15:31:12 +02:00
groups = {food_saucepan = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:saucepan",
recipe = {
{"default:steel_ingot", "", ""},
2020-07-02 15:31:12 +02:00
{"", "group:stick", ""}
}
})
-- cooking pot
minetest.register_craftitem("farming:pot", {
description = S("Cooking Pot"),
inventory_image = "farming_pot.png",
2020-07-02 15:31:12 +02:00
groups = {food_pot = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:pot",
recipe = {
{"group:stick", "default:steel_ingot", "default:steel_ingot"},
2020-07-02 15:31:12 +02:00
{"", "default:steel_ingot", "default:steel_ingot"}
}
})
-- baking tray
minetest.register_craftitem("farming:baking_tray", {
description = S("Baking Tray"),
inventory_image = "farming_baking_tray.png",
2020-07-02 15:31:12 +02:00
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"},
2020-07-02 15:31:12 +02:00
{"default:clay_brick", "default:clay_brick", "default:clay_brick"}
}
})
-- skillet
minetest.register_craftitem("farming:skillet", {
description = S("Skillet"),
inventory_image = "farming_skillet.png",
2020-07-02 15:31:12 +02:00
groups = {food_skillet = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:skillet",
recipe = {
{"default:steel_ingot", "", ""},
{"", "default:steel_ingot", ""},
2020-07-02 15:31:12 +02:00
{"", "", "group:stick"}
}
})
-- mortar and pestle
minetest.register_craftitem("farming:mortar_pestle", {
2018-03-21 23:25:42 +01:00
description = S("Mortar and Pestle"),
inventory_image = "farming_mortar_pestle.png",
2020-07-02 15:31:12 +02:00
groups = {food_mortar_pestle = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:mortar_pestle",
recipe = {
{"default:stone", "group:stick", "default:stone"},
2020-07-02 15:31:12 +02:00
{"", "default:stone", ""}
}
})
-- cutting board
minetest.register_craftitem("farming:cutting_board", {
description = S("Cutting Board"),
inventory_image = "farming_cutting_board.png",
2020-07-02 15:31:12 +02:00
groups = {food_cutting_board = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:cutting_board",
recipe = {
{"default:steel_ingot", "", ""},
{"", "group:stick", ""},
2020-07-02 15:31:12 +02:00
{"", "", "group:wood"}
}
})
-- juicer
minetest.register_craftitem("farming:juicer", {
description = S("Juicer"),
inventory_image = "farming_juicer.png",
2020-07-02 15:31:12 +02:00
groups = {food_juicer = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:juicer",
recipe = {
{"", "default:stone", ""},
2020-07-02 15:31:12 +02:00
{"default:stone", "", "default:stone"}
}
})
-- glass mixing bowl
minetest.register_craftitem("farming:mixing_bowl", {
description = S("Glass Mixing Bowl"),
inventory_image = "farming_mixing_bowl.png",
2020-07-02 15:31:12 +02:00
groups = {food_mixing_bowl = 1, flammable = 2}
})
minetest.register_craft({
output = "farming:mixing_bowl",
recipe = {
{"default:glass", "group:stick", "default:glass"},
2020-07-02 15:31:12 +02:00
{"", "default:glass", ""}
}
})
minetest.register_craft( {
output = "vessels:glass_fragments",
2021-05-04 10:06:08 +02:00
recipe = {{"farming:mixing_bowl"}}
})