mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-06-29 14:50:52 +02:00
added {eatable} group to food items and tooltip HP info
This commit is contained in:
@ -46,10 +46,10 @@ minetest.register_craft({
|
||||
|
||||
-- rice flour and bread
|
||||
minetest.register_craftitem("farming:rice_bread", {
|
||||
description = S("Rice Bread"),
|
||||
description = S("Rice Bread") .. " (♥5)",
|
||||
inventory_image = "farming_rice_bread.png",
|
||||
on_use = minetest.item_eat(5),
|
||||
groups = {food_rice_bread = 1, flammable = 2, compostability = 65}
|
||||
groups = {food_rice_bread = 1, flammable = 2, compostability = 65, eatable = 5}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("farming:rice_flour", {
|
||||
|
Reference in New Issue
Block a user