Remove wield image from item definitions
This commit is contained in:
parent
4439a29fb2
commit
f2928a4a76
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user