1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
if currencyType ~= CURT_NONE then
--things added to the topSection stack upwards
local currencyOptions =
{
showCap = true ,
currencyLocation = location ,
}
local heldCurrencyString = ZO_Currency_FormatGamepad ( currencyType , heldAmount , ZO_CURRENCY_FORMAT_AMOUNT_ICON , currencyOptions )
local heldCurrencyNarrationString = ZO_Currency_FormatGamepad ( currencyType , heldAmount , ZO_CURRENCY_FORMAT_AMOUNT_NAME , currencyOptions )
topSubsection : AddLineWithCustomNarration ( zo_strformat ( SI_GAMEPAD_CURRENCY_INDICATOR , heldCurrencyString ) , zo_strformat ( SI_GAMEPAD_CURRENCY_INDICATOR , heldCurrencyNarrationString ) )
-- Name
local IS_UPPER = false
local displayName
if amount and amount > 1 then
local IS_PLURAL = false
else
local IS_SINGULAR = true
end
-- Description
end
end |