WoWInterface SVN zz_Bags

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 57 to Rev 56
    Reverse comparison

Rev 57 → Rev 56

zz_Bags/core.lua
59,6 → 59,7
free[bagType] = free[bagType] + c
full[bagType] = full[bagType] + b
end
-- print(bagTypes[bagType],bagType,addon['db']['profile']['bagTypes'][bagTypes[bagType]])
if(db['bagTypes'][bagTypes[bagType]]==true) then
n = n + c
m = m + b
89,15 → 90,18
OnDataUpdate()
end
local function OnTooltip(tip)
tip:AddLine(childName)
x, y = 0, 0
local zztip = type(tip.AddHeader) == 'function' and tip:AddHeader(childName) or tip:AddLine(childName)
x=0
y=0
while(x<8000) do
if(full[x] and full[x] > 0) then
n = free[x]
if(not db['showFree']) then
n = full[x] - n
if(full[x]) then
if(full[x] > 0) then
n = free[x]
if(not db['showFree']) then
n = full[x] - n
end
tip:AddDoubleLine(bagTypes[x],n.."/"..full[x])
end
tip:AddDoubleLine(bagTypes[x],n.."/"..full[x])
end
x = 2^y
y = y + 1
zz_Bags/zz_Bags.toc
1,4 → 1,4
## Interface: 80000
## Interface: 70300
## X-WoWI-Slug: zz_Bags-842
## X-Curse-Project-Slug: zz_bags
## X-Repository: svn://svn.wowinterface.com/zz_Bags-842