Revert "Remove wield image in item definition"

This reverts commit f43dc80eb5.
This commit is contained in:
Austin Shenk
2013-07-01 18:59:04 -04:00
parent f43dc80eb5
commit 4439a29fb2
3 changed files with 8 additions and 41 deletions

View File

@ -234,6 +234,7 @@ for name, def in pairs(minetest.registered_tools) do
end
newdef.description = def.description.." "..special.description
newdef.inventory_image = def.inventory_image.."^specialties_"..special.name..".png"
newdef.wield_image = def.inventory_image.."^specialties_"..special.name..".png"
if(name:find(":hoe") ~= nil) then
newdef.on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type == "nothing" or pointed_thing.type == "object" or pointed_thing.above == nil then return itemstack end