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 /sugar.lua | |
parent | bb208f8d5b9c4926a2651d2734fac85a0e7902e8 (diff) |
added food groups to make items more compatible with other mods
Diffstat (limited to 'sugar.lua')
-rw-r--r-- | sugar.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,7 @@ local S = farming.intllib minetest.register_craftitem("farming:sugar", { description = S("Sugar"), inventory_image = "farming_sugar.png", + groups = {food_sugar = 1, flammable = 3}, }) minetest.register_craft({ @@ -25,7 +26,8 @@ minetest.register_node("farming:salt", { drawtype = "plantlike", paramtype = "light", tiles = {"farming_salt.png"}, - groups = {vessel = 1, salt = 1, dig_immediate = 3, attached_node = 1}, + groups = {food_salt = 1, salt = 1, vessel = 1, dig_immediate = 3, + attached_node = 1}, sounds = default.node_sound_glass_defaults(), selection_box = { type = "fixed", |