diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 16:53:25 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 16:53:25 +0000 |
commit | bece919362c6c2cd1f6489d2a87f71663b54d74c (patch) | |
tree | 39444e9c43fcf55d0555b5594d9e00a583d29590 /onion.lua | |
parent | a4b3916f86dc96d78195d372d9025c8c3b822c1d (diff) |
added food groups for better recipe handling
Diffstat (limited to 'onion.lua')
-rw-r--r-- | onion.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:wild_onion_plant", { description = S("Wild Onion"),
inventory_image = "wild_onion.png",
wield_image = "wild_onion.png",
+ groups = {food_onion = 1, flammable = 2},
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:wild_onion_1")
end,
|