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 /onion.lua | |
parent | bb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff) |
added food groups to make items more compatible with other mods
Diffstat (limited to 'onion.lua')
-rw-r--r-- | onion.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ local S = farming.intllib minetest.register_craftitem("farming:onion", { description = S("Onion"), inventory_image = "crops_onion.png", + groups = {food_onion = 1, flammable = 3}, on_place = function(itemstack, placer, pointed_thing) return farming.place_seed(itemstack, placer, pointed_thing, "farming:onion_1") end, @@ -59,7 +60,7 @@ crop_def.drop = { max_items = 5, items = { {items = {'farming:onion'}, rarity = 1}, {items = {'farming:onion'}, rarity = 1}, - {items = {'farming:onion'}, rarity = 1}, + {items = {'farming:onion'}, rarity = 2}, {items = {'farming:onion'}, rarity = 2}, {items = {'farming:onion'}, rarity = 5}, } |