Returns a localized string describing an amount of money
See also Money functions.
Signature:
coinText = GetCoinText(amount, "separator")
Arguments:
amount- Amount of money in copper (number)separator- String to use as separator (', ' is used if nil) (string)
Returns:
coinText- Text description of the amount using localized names for 'Gold', 'Silver' and 'Copper' (string)
Examples:
GetCoinTextureString(10000) -- returns "1 Gold" GetCoinTextureString(500050) -- returns "50 Gold, 50 Copper" GetCoinTextureString(123456, " / ") -- returns "12 Gold / 4 Silver / 56 Copper"