GetMaxBackpackUpgrade

From ESOUI Wiki

Jump to: navigation, search

Returns the maximum number of times the player can upgrade their inventory capacity.

Syntax

local upgrades = GetCurrentBackpackUpgrade()
local max      = GetMaxBackpackUpgrade()
if upgrades < max then
   local slotsPerUpgrade   = GetNumBackpackSlotsPerUpgrade()
   local remainingUpgrades = max - upgrades
   local remainingSlots    = slotsPerUpgrade * remainingUpgrades
   --
   d("Keep upgrading your backpack, and you'll be able to hold " .. remainingSlots .. " more items!")
else
   d("You've fully upgraded your backpack!")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox