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 /compatibility.lua | |
parent | bb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff) |
added food groups to make items more compatible with other mods
Diffstat (limited to 'compatibility.lua')
-rw-r--r-- | compatibility.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compatibility.lua b/compatibility.lua index b7c906c..1beb241 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -20,7 +20,7 @@ else type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, 0.2, 0.2} }, - groups = {fleshy = 3, dig_immediate = 3, flammable = 2}, + groups = {food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2}, on_use = minetest.item_eat(2), sounds = default.node_sound_leaves_defaults(), }) @@ -68,7 +68,7 @@ else type = "fixed", fixed = {-0.2, -0.3, -0.2, 0.2, 0.2, 0.2} }, - groups = {fleshy = 3, dig_immediate = 3, flammable = 2}, + groups = {food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2}, on_use = minetest.item_eat(4), sounds = default.node_sound_leaves_defaults(), }) @@ -118,6 +118,7 @@ else description = "Strawberry", inventory_image = "strawberry.png", wield_image = "strawberry.png", + groups = {food_strawberry = 1, flammable = 2}, on_use = minetest.item_eat(1), }) |