Module:Calculator/AgilityObstacle: Difference between revisions
From Melvor Idle
(Add icon overrides for Abyssal currencies) |
(Adjust to new Icons.Currency function) |
||
Line 10: | Line 10: | ||
local iconTable = { | local iconTable = { | ||
['GP'] = Icons.GP | ['GP'] = Icons._Currency('GP', amount), | ||
['SC'] = Icons.SC | ['SC'] = Icons._Currency('SC', amount), | ||
['AP'] = Icons.AP | ['AP'] = Icons._Currency('AP', amount), | ||
['ASC'] = Icons.ASC | ['ASC'] = Icons._Currency('ASC', amount), | ||
} | } | ||
local function getItemIcon(itemName, amount) | local function getItemIcon(itemName, amount) |