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 42 43 44 45 46 47 48 |
ZO_KEYBOARD_CURRENCY_OPTIONS =
{
showTooltips = true ,
font = "ZoFontGameLargeBold" ,
iconSide = RIGHT ,
}
local DONT_SET_TO_FULL_SIZE = false
local DONT_USE_SHORT_FORMAT = false
local TOOLTIP_LINE_WIDTH = 150
local NO_BAG_ICON = nil
do
for currencyType = CURT_ITERATION_BEGIN , CURT_ITERATION_END do
local carriedAmmount = ZO_CurrencyControl_FormatCurrency ( GetCurrencyAmount ( currencyType , CURRENCY_LOCATION_CHARACTER ) )
local carriedText = zo_strformat ( SI_GENERIC_CURRENCY_TOOLTIP_FORMAT , carriedAmmount , currencyIconMarkup , INVENTORY_ICON )
InformationTooltip : AddLine ( carriedText , "" , r , g , b , RIGHT , MODIFY_TEXT_TYPE_NONE , TEXT_ALIGN_RIGHT , DONT_SET_TO_FULL_SIZE , TOOLTIP_LINE_WIDTH )
local bankedAmmount = ZO_CurrencyControl_FormatCurrency ( GetCurrencyAmount ( currencyType , currencyBankLocation ) , DONT_USE_SHORT_FORMAT , obfuscateAmount )
local bankedText = zo_strformat ( SI_GENERIC_CURRENCY_TOOLTIP_FORMAT , bankedAmmount , currencyIconMarkup , BANK_ICON )
InformationTooltip : AddLine ( bankedText , "" , r , g , b , RIGHT , MODIFY_TEXT_TYPE_NONE , TEXT_ALIGN_RIGHT , DONT_SET_TO_FULL_SIZE , TOOLTIP_LINE_WIDTH )
end
end
end
end
return currencyType == CURT_MONEY and not DoesPlayerHaveGuildPermission ( GetSelectedGuildBankId ( ) , GUILD_PERMISSION_BANK_VIEW_GOLD )
end
end
end |