From 8cd1f62211d1a0227a0a177421c11c4f93473b7f Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Thu, 22 Mar 2018 08:17:08 +0000 Subject: [PATCH] add food_ group to honey added {food_honey=1, food_sugar=1} groups to honey. --- src/hive.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hive.lua b/src/hive.lua index d7baf49..a389dd2 100644 --- a/src/hive.lua +++ b/src/hive.lua @@ -73,7 +73,7 @@ minetest.register_craftitem("xdecor:honey", { description = "Honey", inventory_image = "xdecor_honey.png", wield_image = "xdecor_honey.png", - groups = {not_in_creative_inventory=1}, + groups = {food_honey = 1, food_sugar = 1, flammable = 2, not_in_creative_inventory=1}, on_use = minetest.item_eat(2) }) @@ -86,4 +86,4 @@ minetest.register_craft({ {"default:paper", "default:paper", "default:paper"}, {"group:stick", "group:stick", "group:stick"} } -}) \ No newline at end of file +})