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 /wheat.lua | |
parent | bb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff) |
added food groups to make items more compatible with other mods
Diffstat (limited to 'wheat.lua')
-rw-r--r-- | wheat.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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({ |