added onigiri and gyoza to food items

This commit is contained in:
tenplus1 2021-03-27 11:39:21 +00:00
parent ea59a8acdb
commit 81293a2f94
3 changed files with 39 additions and 0 deletions

View File

@ -600,3 +600,42 @@ minetest.register_craft({
{"farming:pot", "farming:pot"}, {"farming:pot", "farming:pot"},
} }
}) })
-- Onigiri
minetest.register_craftitem("farming:onigiri", {
description = S("Onirigi"),
inventory_image = "farming_onigiri.png",
on_use = minetest.item_eat(2),
groups = {flammable = 2},
})
minetest.register_craft({
type = "shapeless",
output = "farming:onigiri",
recipe = {
"group:food_rice", "group:food_rice", "group:food_seaweed", "group:food_salt"
}
})
-- Gyoza
minetest.register_craftitem("farming:gyoza", {
description = S("Gyoza"),
inventory_image = "farming_gyoza.png",
on_use = minetest.item_eat(4),
groups = {flammable = 2},
})
minetest.register_craft({
type = "shapeless",
output = "farming:gyoza 4",
recipe = {
"group:food_cabbage", "group:food_garlic_clove", "group:food_onion",
"group:food_meat_raw", "group:food_salt", "group:food_skillet",
"group:food_flour"
},
replacements = {
{"group:food_skillet", "farming:skillet"}
}
})

BIN
textures/farming_gyoza.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B