Rezepte angepasst, Nahrungspunkte hinzugefügt

This commit is contained in:
N-Nachtigal 2025-05-13 22:33:52 +02:00
parent 9dbc0b2ba1
commit df69eb154c
8 changed files with 33 additions and 33 deletions

View file

@ -30,7 +30,7 @@ if minetest.global_exists("farming") and farming.mod == "redo" then
description = "Peanuts",
on_use = minetest.item_eat(1),
inventory_image = "sandwiches_peanut.png", -- not peanutS due to compatibility with the default farming mod
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1},
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1, eatable = 1},
})
minetest.register_alias("sandwiches:seed_peanuts", "sandwiches:seed_peanut")
@ -138,7 +138,7 @@ else -- farming-redo not present -----------------------------------------------
--description = "Peanuts",
on_use = minetest.item_eat(1),
inventory_image = "sandwiches_peanut.png",
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1},
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1, eatable = 1},
})
end
@ -219,7 +219,7 @@ minetest.register_decoration({
minetest.register_craftitem("sandwiches:peanut_butter", {
description = "Peanut Butter",
on_use = minetest.item_eat(2),
groups = {food = 2, food_peanut_butter = 1, flammable = 1, food_butter = 1},
groups = {food = 2, food_peanut_butter = 1, flammable = 1, food_butter = 1, eatable = 2},
inventory_image = "sandwiches_peanut_butter.png"
})