Version 2.0 - preys, bot updates, ui improvements

This commit is contained in:
OTCv8
2020-01-31 18:01:42 +01:00
parent 48d7eb810d
commit 6bc4188d7a
40 changed files with 737 additions and 72 deletions

View File

@@ -477,7 +477,7 @@ function onFreeCapacityChange(player, freeCapacity)
freeCapacity = math.floor(freeCapacity)
end
if freeCapacity > 99999 then
freeCapacity = 99999
freeCapacity = math.min(9999, math.floor(freeCapacity/1000)) .. "k"
end
capLabel:setText(tr('Cap') .. ':\n' .. freeCapacity)
end