Returns information about currency items required to purchase an item from a vendor
See also Merchant functions.
Signature:
texture, value, link, name = GetMerchantItemCostItem(index, currency)
Arguments:
index- Index of an item in the vendor's listing (between 1 andGetMerchantNumItems()) (number)currency- Index of one of the item currencies required to purchase the item (between 1 andGetMerchantItemCostInfo(index)) (number)
Returns:
texture- Path to an icon texture for the currency item (string)value- Amount of the currency required for purchase (number)link- A hyperlink for the currency item (string, hyperlink)name- The localized name of the currency (string)