]> git.lizzy.rs Git - xdecor.git/commitdiff
add food_ group to honey
authortenplus1 <tenplus1@users.noreply.github.com>
Thu, 22 Mar 2018 08:17:08 +0000 (08:17 +0000)
committerkilbith <kilbith@users.noreply.github.com>
Thu, 22 Mar 2018 11:11:31 +0000 (12:11 +0100)
added {food_honey=1, food_sugar=1} groups to honey.

src/hive.lua

index d7baf490c54b1f85c7b470669efe89ee87e54724..a389dd2b7c4c354d8c1ddbec459aced84969f218 100644 (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"}
        }
-})
\ No newline at end of file
+})