Anonymous

Module:Calculator/AgilityObstacle: Difference between revisions

From Melvor Idle
Adjust to new Icons.Currency function
(Add icon overrides for Abyssal currencies)
(Adjust to new Icons.Currency function)
Line 10: Line 10:


local iconTable = {
local iconTable = {
['GP']  = Icons.GP(amount),
['GP']  = Icons._Currency('GP', amount),
['SC']  = Icons.SC(amount),
['SC']  = Icons._Currency('SC', amount),
['AP']  = Icons.AP(amount),
['AP']  = Icons._Currency('AP', amount),
['ASC'] = Icons.ASC(amount),
['ASC'] = Icons._Currency('ASC', amount),
}
}
local function getItemIcon(itemName, amount)
local function getItemIcon(itemName, amount)
2,875

edits