forked from mtcontrib/farming
added tomato soup
This commit is contained in:
parent
4b033fed83
commit
4c6b062f98
@ -17,6 +17,24 @@ minetest.register_craftitem("farming:tomato", {
|
|||||||
on_use = minetest.item_eat(4)
|
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
|
-- tomato definition
|
||||||
local def = {
|
local def = {
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
|
BIN
textures/farming_tomato_soup.png
Normal file
BIN
textures/farming_tomato_soup.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 161 B |
Loading…
Reference in New Issue
Block a user