Fix bug issues

This commit is contained in:
Austin Shenk 2013-06-29 17:06:58 -04:00
parent e90d1e2a57
commit a13965f477
3 changed files with 4 additions and 1 deletions

View File

@ -142,7 +142,10 @@ for name, def in pairs(minetest.registered_tools) do
if(specialties.skills[skill].tool ~= "") then
if(name:find(specialties.skills[skill].tool) ~= nil and special ~= {}) then
local toolname = "specialties"..name:sub(colonpos).."_"..special.name
local newdef = def
local newdef = {}
for k,v in pairs(def) do
newdef[k] = v
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"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 311 B