diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 16:45:15 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 16:45:15 +0000 |
commit | 77198100f3bfa57de2d616bee3d2dfd3a48c02a9 (patch) | |
tree | 3b63fb8c7408cf072f669670012b4249a5573e4c /pineapple.lua | |
parent | bb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff) |
added food groups to make items more compatible with other mods
Diffstat (limited to 'pineapple.lua')
-rw-r--r-- | pineapple.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pineapple.lua b/pineapple.lua index 2e7f5b7..77047be 100644 --- a/pineapple.lua +++ b/pineapple.lua @@ -24,13 +24,14 @@ minetest.register_node("farming:pineapple", { type = "fixed", fixed = {-0.27, -0.37, -0.27, 0.27, 0.44, 0.27} }, - groups = {fleshy = 3, dig_immediate = 3, flammable = 2}, + groups = {food_pineapple = 1, fleshy = 3, dig_immediate = 3, flammable = 2}, }) -- pineapple minetest.register_craftitem("farming:pineapple_ring", { description = S("Pineapple Ring"), inventory_image = "farming_pineapple_ring.png", + groups = {food_pineapple_ring = 1, flammable = 2}, on_use = minetest.item_eat(1), }) |