summaryrefslogtreecommitdiff
path: root/onion.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-12 16:53:25 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-12 16:53:25 +0000
commitbece919362c6c2cd1f6489d2a87f71663b54d74c (patch)
tree39444e9c43fcf55d0555b5594d9e00a583d29590 /onion.lua
parenta4b3916f86dc96d78195d372d9025c8c3b822c1d (diff)
added food groups for better recipe handling
Diffstat (limited to 'onion.lua')
-rw-r--r--onion.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/onion.lua b/onion.lua
index b26a61b..69671c3 100644
--- a/onion.lua
+++ b/onion.lua
@@ -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,