Anonymous

Module:Items/ComparisonTables: Difference between revisions

From Melvor Idle
_getCategoryTable: Fix skill cape classification for Superior Cape of Completion
(Fix style override)
(_getCategoryTable: Fix skill cape classification for Superior Cape of Completion)
Line 296: Line 296:
if isMatch and other ~= nil then
if isMatch and other ~= nil then
if slot == 'Cape' then
if slot == 'Cape' then
local isSkillcape = Shared.contains(item.name, 'Skillcape') or item.name == 'Cape of Completion'
-- TODO Would be more reliable if based on items appearing within the relevant shop categories instead
local isSkillcape = Shared.contains(item.name, 'Skillcape') or Shared.contains(item.name, 'Cape of Completion')
if other == 'Skillcapes' then
if other == 'Skillcapes' then
isMatch = isSkillcape
isMatch = isSkillcape