mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-28 06:20:35 +02:00
added tomato soup
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user