summaryrefslogtreecommitdiff
path: root/wheat.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 /wheat.lua
parentbb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff)
added food groups to make items more compatible with other mods
Diffstat (limited to 'wheat.lua')
-rw-r--r--wheat.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/wheat.lua b/wheat.lua
index 79988b6..494b543 100644
--- a/wheat.lua
+++ b/wheat.lua
@@ -23,7 +23,7 @@ minetest.register_node("farming:seed_wheat", {
minetest.register_craftitem("farming:wheat", {
description = S("Wheat"),
inventory_image = "farming_wheat.png",
- groups = {flammable = 4},
+ groups = {food_wheat = 1, flammable = 4},
})
-- straw
@@ -55,7 +55,7 @@ minetest.register_craft({
minetest.register_craftitem("farming:flour", {
description = S("Flour"),
inventory_image = "farming_flour.png",
- groups = {flammable = 1},
+ groups = {food_flour = 1, flammable = 1},
})
minetest.register_craft({
@@ -69,7 +69,7 @@ minetest.register_craftitem("farming:bread", {
description = S("Bread"),
inventory_image = "farming_bread.png",
on_use = minetest.item_eat(5),
- groups = {flammable = 2},
+ groups = {food_bread = 1, flammable = 2},
})
minetest.register_craft({