Add food groups to blueberries (#2335)
authortenplus1 <tenplus1@users.noreply.github.com>
Fri, 22 Mar 2019 19:20:36 +0000 (19:20 +0000)
committersfan5 <sfan5@live.de>
Sun, 31 Mar 2019 20:20:47 +0000 (22:20 +0200)
mods/default/craftitems.lua

index 6a1b57064c4113d20ed392169a096ca1c8063ad6..711e5c1dbcd8ee843cd4bc993af6a4b2b73f18dd 100644 (file)
@@ -343,5 +343,6 @@ minetest.register_craftitem("default:flint", {
 minetest.register_craftitem("default:blueberries", {
        description = "Blueberries",
        inventory_image = "default_blueberries.png",
+       groups = {food_blueberries = 1, food_berry = 1},
        on_use = minetest.item_eat(2),
 })