star_wars/mods/farming/utensils.lua

164 lines
3.4 KiB
Lua
Raw Normal View History

2020-05-08 04:42:40 +02:00
local S = farming.intllib
-- wooden bowl
2020-05-18 01:18:05 +02:00
minetest.register_craftitem("farming:bowl_wood", {
2020-05-08 04:42:40 +02:00
description = S("Wooden Bowl"),
2020-05-18 01:18:05 +02:00
inventory_image = "bowl_wood.png",
2020-05-08 04:42:40 +02:00
groups = {food_bowl = 1, flammable = 2},
})
minetest.register_craft({
output = "farming:bowl 4",
recipe = {
2020-05-18 01:18:05 +02:00
{"group:soft_wood", "", "group:soft_wood"},
{"", "group:soft_wood", ""},
2020-05-08 04:42:40 +02:00
}
})
minetest.register_craft({
type = "fuel",
recipe = "farming:bowl",
burntime = 10,
})
-- saucepan
minetest.register_craftitem("farming:saucepan", {
description = S("Saucepan"),
2020-05-18 01:18:05 +02:00
inventory_image = "saucepan.png",
2020-05-08 04:42:40 +02:00
groups = {food_saucepan = 1, flammable = 2},
})
minetest.register_craft({
output = "farming:saucepan",
recipe = {
2020-05-18 01:18:05 +02:00
{"default:durasteel_ingot", "", ""},
2020-05-08 04:42:40 +02:00
{"", "group:stick", ""},
}
})
-- cooking pot
minetest.register_craftitem("farming:pot", {
description = S("Cooking Pot"),
2020-05-18 01:18:05 +02:00
inventory_image = "pot.png",
2020-05-08 04:42:40 +02:00
groups = {food_pot = 1, flammable = 2},
})
minetest.register_craft({
output = "farming:pot",
recipe = {
2020-05-18 01:18:05 +02:00
{"group:stick", "default:durasteel_ingot", "default:durasteel_ingot"},
{"", "default:durasteel_ingot", "default:durasteel_ingot"},
2020-05-08 04:42:40 +02:00
}
})
-- baking tray
minetest.register_craftitem("farming:baking_tray", {
description = S("Baking Tray"),
2020-05-18 01:18:05 +02:00
inventory_image = "baking_tray.png",
2020-05-08 04:42:40 +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"},
{"default:clay_brick", "default:clay_brick", "default:clay_brick"},
}
})
-- skillet
minetest.register_craftitem("farming:skillet", {
description = S("Skillet"),
2020-05-18 01:18:05 +02:00
inventory_image = "skillet.png",
2020-05-08 04:42:40 +02:00
groups = {food_skillet = 1, flammable = 2},
})
minetest.register_craft({
output = "farming:skillet",
recipe = {
2020-05-18 01:18:05 +02:00
{"default:durasteel_ingot", "", ""},
{"", "default:durasteel_ingot", ""},
2020-05-08 04:42:40 +02:00
{"", "", "group:stick"},
}
})
-- mortar and pestle
minetest.register_craftitem("farming:mortar_pestle", {
description = S("Mortar and Pestle"),
2020-05-18 01:18:05 +02:00
inventory_image = "mortar_pestle.png",
2020-05-08 04:42:40 +02:00
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"),
2020-05-18 01:18:05 +02:00
inventory_image = "cutting_board.png",
2020-05-08 04:42:40 +02:00
groups = {food_cutting_board = 1, flammable = 2},
})
minetest.register_craft({
output = "farming:cutting_board",
recipe = {
2020-05-18 01:18:05 +02:00
{"default:durasteel_ingot", "", ""},
2020-05-08 04:42:40 +02:00
{"", "group:stick", ""},
2020-05-18 01:18:05 +02:00
{"", "", "group:soft_wood"},
2020-05-08 04:42:40 +02:00
}
})
-- juicer
minetest.register_craftitem("farming:juicer", {
description = S("Juicer"),
2020-05-18 01:18:05 +02:00
inventory_image = "juicer.png",
2020-05-08 04:42:40 +02:00
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"),
2020-05-18 01:18:05 +02:00
inventory_image = "mixing_bowl.png",
2020-05-08 04:42:40 +02:00
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",
},
})