summaryrefslogtreecommitdiff
path: root/beanpole.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-12 16:45:15 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-12 16:45:15 +0000
commit77198100f3bfa57de2d616bee3d2dfd3a48c02a9 (patch)
tree3b63fb8c7408cf072f669670012b4249a5573e4c /beanpole.lua
parentbb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff)
added food groups to make items more compatible with other mods
Diffstat (limited to 'beanpole.lua')
-rw-r--r--beanpole.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/beanpole.lua b/beanpole.lua
index 7b01af5..1e81dac 100644
--- a/beanpole.lua
+++ b/beanpole.lua
@@ -64,6 +64,7 @@ end
minetest.register_craftitem("farming:beans", {
description = S("Green Beans"),
inventory_image = "farming_beans.png",
+ groups = {food_beans = 1, flammable = 2},
on_use = minetest.item_eat(1),
on_place = function(itemstack, placer, pointed_thing)