comparison Modules/Tooltip.lua @ 17:e62d878c716d

Changed tooltip to be less confusing on the price per item.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sat, 03 Jul 2010 10:22:35 -0700
parents 44e70a3fdb19
children d21d202f3b3d
comparison
equal deleted inserted replaced
16:56de19d9bd8d 17:e62d878c716d
16 local keep = 1 - addon:GetAHCut() 16 local keep = 1 - addon:GetAHCut()
17 local show = false 17 local show = false
18 18
19 if investedTotal > 0 then 19 if investedTotal > 0 then
20 tip:AddDoubleLine("\124cffffffffIA: Total Invested", addon:FormatMoney(investedTotal)); 20 tip:AddDoubleLine("\124cffffffffIA: Total Invested", addon:FormatMoney(investedTotal));
21 tip:AddDoubleLine("\124cffffffffIA: Invested/Item (" .. count .. ")", addon:FormatMoney(ceil(investedPerItem))); 21 tip:AddDoubleLine("\124cffffffffIA: Invested per Item (own: " .. count .. ")", addon:FormatMoney(ceil(investedPerItem)));
22 tip:AddDoubleLine("\124cffffffffIA: Minimum " .. addon:GetAHFaction() .. " AH Price: ", addon:FormatMoney(ceil(investedPerItem/keep))) 22 tip:AddDoubleLine("\124cffffffffIA: Minimum " .. addon:GetAHFaction() .. " AH Price: ", addon:FormatMoney(ceil(investedPerItem/keep)))
23 show = true 23 show = true
24 24
25 end 25 end
26 26