minor changes/bugfixes

This commit is contained in:
Manuel Simon Hirsig
2015-09-29 18:21:34 +02:00
parent 2b6516c534
commit 51d792c425
4 changed files with 42 additions and 30 deletions
+10
View File
@@ -499,4 +499,14 @@ function Aux_QualityColor(code)
elseif code == 5 then
return "ffff8000" -- legendary, orange
end
end
-----------------------------------------
function Aux.auction_key(tooltip, stack_size, buyout_price)
local key = ''
for i, entry in ipairs(tooltip) do
key = key .. (i == 1 and '' or '_')
end
return key .. '_' .. stack_size .. '_' .. buyout_price
end