fix(lagre): 'rækker til' regnes på nettoforbrug (+ 'stiger'), bredere beholdningskolonne, kort tooltip (v1.16.1.0)
This commit is contained in:
@@ -98,7 +98,12 @@ function SmartPickupFrame:statCells(stat)
|
||||
if stat.valueNow ~= nil then
|
||||
now, top = SmartPickupFrame.formatMoney(stat.valueNow), SmartPickupFrame.formatMoney(stat.valueTop)
|
||||
end
|
||||
local days = stat.days ~= nil and string.format(i18n:getText("spu_stat_days"), stat.days) or "-"
|
||||
local days = "-"
|
||||
if stat.days ~= nil then
|
||||
days = string.format(i18n:getText("spu_stat_days"), stat.days)
|
||||
elseif stat.rising then
|
||||
days = i18n:getText("spu_stat_rising")
|
||||
end
|
||||
return {self:fillTypeTitle(stat.fillType), here, now, top, fc(stat.farmTotal), days, ADStorageStats.rateText(stat.consumption, stat.production, fc)}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user