Anonymous

Module:Items/UseTables: Difference between revisions

From Melvor Idle
_getItemUseTable: Amend links for Agility uses to link to specific obstacle/pillar
(_getItemUseTable: Amend to show XP harvested per quantity for Farming)
(_getItemUseTable: Amend links for Agility uses to link to specific obstacle/pillar)
Line 564: Line 564:
local iconName = row.item.name
local iconName = row.item.name
if row.skill == 'Agility' then
if row.skill == 'Agility' then
iconName = 'Agility'
iconType = 'agility'
end
end
local typeName = row.skill ~= nil and row.skill or ''
local typeName = row.skill ~= nil and row.skill or ''