added tomato soup

This commit is contained in:
tenplus1 2021-05-03 18:08:40 +01:00
parent 4b033fed83
commit 4c6b062f98
2 changed files with 18 additions and 0 deletions

View File

@ -17,6 +17,24 @@ minetest.register_craftitem("farming:tomato", {
on_use = minetest.item_eat(4)
})
-- tomato soup
minetest.register_craftitem("farming:tomato_soup", {
description = S("Tomato Soup"),
inventory_image = "farming_tomato_soup.png",
groups = {flammable = 2},
on_use = minetest.item_eat(8, "farming:bowl")
})
minetest.register_craft({
type = "shapeless",
output = "farming:tomato_soup",
recipe = {
"group:food_tomato",
"group:food_tomato",
"group:food_bowl"
}
})
-- tomato definition
local def = {
drawtype = "plantlike",

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B