greatly simplified history
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
AuxVersion = '2.4.17'
|
||||
AuxVersion = '2.4.18'
|
||||
AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)'
|
||||
|
||||
Aux = {
|
||||
@@ -28,13 +28,13 @@ function Aux.on_load()
|
||||
-- EnhTooltip.AddLine('Seen '..auction_count..' '..Aux_PluralizeIf('time', auction_count)..' at auction', nil, true)
|
||||
-- EnhTooltip.LineColor(0.5, 0.8, 0.1)
|
||||
|
||||
local market_value = Aux.history.market_value(item_key)
|
||||
local market_value = Aux.history.value(item_key)
|
||||
if market_value then
|
||||
local market_value_line
|
||||
if count == 1 then
|
||||
market_value_line = 'Market Value: '..EnhTooltip.GetTextGSC(market_value)
|
||||
market_value_line = 'Value: '..EnhTooltip.GetTextGSC(market_value)
|
||||
else
|
||||
market_value_line = 'Market Value: '..EnhTooltip.GetTextGSC(market_value * count)..' / '..EnhTooltip.GetTextGSC(market_value)
|
||||
market_value_line = 'Value: '..EnhTooltip.GetTextGSC(market_value * count)..' / '..EnhTooltip.GetTextGSC(market_value)
|
||||
end
|
||||
|
||||
EnhTooltip.AddLine(market_value_line, nil, true)
|
||||
|
||||
Reference in New Issue
Block a user