Remove wield image from item definitions

This commit is contained in:
Austin Shenk 2013-07-01 19:01:43 -04:00
parent 4439a29fb2
commit f2928a4a76

View File

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