summaryrefslogtreecommitdiff
path: root/onion.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-11-23 20:43:48 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2015-11-23 20:43:48 +0000
commit4a29cc936a239800b5db0bf9b16114ff172666cc (patch)
tree6ca52c96b543315edc633ab9cefec04d559de8ee /onion.lua
parenta3e577a3ec7ac4c559e2e1f19b5a653ced258d26 (diff)
Added wield images
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 5538591..b222969 100644
--- a/onion.lua
+++ b/onion.lua
@@ -3,6 +3,7 @@ minetest.register_craftitem("ethereal:wild_onion_plant", {
description = "Wild Onion",
groups = {not_in_creative_inventory=1},
inventory_image = "wild_onion.png",
+ wield_image = "wild_onion.png",
on_use = minetest.item_eat(2),
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:wild_onion_1")