From 77198100f3bfa57de2d616bee3d2dfd3a48c02a9 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 12 Mar 2018 16:45:15 +0000 Subject: added food groups to make items more compatible with other mods --- grapes.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'grapes.lua') diff --git a/grapes.lua b/grapes.lua index f13b4a1..9a6ab9e 100644 --- a/grapes.lua +++ b/grapes.lua @@ -60,6 +60,7 @@ minetest.register_craftitem("farming:grapes", { description = S("Grapes"), inventory_image = "farming_grapes.png", on_use = minetest.item_eat(2), + groups = {food_grapes = 1, flammable = 3}, on_place = function(itemstack, placer, pointed_thing) return place_grapes(itemstack, placer, pointed_thing, "farming:grapes_1") -- cgit v1.2.3