add food_ group to honey

added {food_honey=1, food_sugar=1} groups to honey.
master
tenplus1 2018-03-22 08:17:08 +00:00 committed by kilbith
parent 0afb011a4a
commit 8cd1f62211
1 changed files with 2 additions and 2 deletions

View File

@ -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"}
}
})
})