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 --- potato.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'potato.lua') diff --git a/potato.lua b/potato.lua index be36905..5e7d431 100644 --- a/potato.lua +++ b/potato.lua @@ -10,6 +10,7 @@ local S = farming.intllib minetest.register_craftitem("farming:potato", { description = S("Potato"), inventory_image = "farming_potato.png", + groups = {food_potato = 1, flammable = 2}, on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:potato_1") end, -- cgit v1.2.3