From bece919362c6c2cd1f6489d2a87f71663b54d74c Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 12 Mar 2018 16:53:25 +0000 Subject: added food groups for better recipe handling --- strawberry.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'strawberry.lua') diff --git a/strawberry.lua b/strawberry.lua index eea150f..9f9b949 100644 --- a/strawberry.lua +++ b/strawberry.lua @@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:strawberry", { description = S("Strawberry"), inventory_image = "strawberry.png", wield_image = "strawberry.png", + groups = {food_strawberry = 1, flammable = 2}, on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:strawberry_1") end, -- cgit v1.2.3