17,101
edits
(Change AoD completion cape category) Tag: Reverted |
Tag: Undo |
||
Line 616: | Line 616: | ||
['melvorTotH:SuperiorSkillcapes'] = { | ['melvorTotH:SuperiorSkillcapes'] = { | ||
'melvorAoD:Superior_Archaeology_Skillcape', | 'melvorAoD:Superior_Archaeology_Skillcape', | ||
'melvorAoD:Superior_Cartography_Skillcape' | 'melvorAoD:Superior_Cartography_Skillcape', | ||
'melvorAoD:Cape_of_Completion_AoD' | |||
}, | }, | ||
['melvorD:Skillcapes'] = { | ['melvorD:Skillcapes'] = { | ||
'melvorAoD:Archaeology_Skillcape', | 'melvorAoD:Archaeology_Skillcape', | ||
'melvorAoD:Cartography_Skillcape', | 'melvorAoD:Cartography_Skillcape', | ||
'melvorItA:Cape_of_Completion_ItA' | 'melvorItA:Cape_of_Completion_ItA' | ||
} | } | ||
Line 787: | Line 787: | ||
function p.getAoDTable(frame) | function p.getAoDTable(frame) | ||
-- All purchases in the Atlas of Discovery category except for skillcapes, which are handled | -- All purchases in the Atlas of Discovery category except for skillcapes, which are handled | ||
-- by p. | -- by p.getShopSkillcapeTable() | ||
local purchList = p.getPurchases( | local purchList = p.getPurchases( | ||
function(purch) | function(purch) | ||
return purch.category == 'melvorAoD:AtlasOfDiscovery' and not p.isSkillcapePurchase(purch) | return purch.category == 'melvorAoD:AtlasOfDiscovery' and not p.isSkillcapePurchase(purch) | ||
end | |||
) | |||
return p._getShopTable(purchList, { columns = { 'Purchase', 'Description', 'Cost', 'Requirements' } }) | |||
end | |||
function p.getItATable(frame) | |||
-- As above for AoD, but for Into the Abyss instead | |||
local purchList = p.getPurchases( | |||
function(purch) | |||
return purch.category == 'melvorItA:IntoTheAbyss' and not p.isSkillcapePurchase(purch) | |||
end | end | ||
) | ) |