DLC & chapter

From ESOUI Wiki

Jump to: navigation, search
--Internal achievement example ids of the ESO DLCs and chapters
local dlcAndChapterAchievementIds = {
    --Imperial city
    [1] = 1267,
    --Orsinium
    [2] = 1393,
    --Thieves Guild
    [3] = 1413,
    --Dark Brotherhood
    [4] = 1421,
    --Shadows of the Hist
    [5] = 1520,
    --Morrowind
    [6] = 1843,
    --Horns of the Reach
    [7] = 1940,
    --Clockwork City
    [8] = 2048,
    --Dragon Bones
    [9] = 2104,
    --Summerset
    [10] = 1845,
    --Wolfhunter
    [11] = 2157,
    --Murkmire
    [12] = 2340,
    --Wrathstone
    [13] = 2265,
    --Elsweyr
    [14] = 2463,
}

--For each entry in the list of example achievements above get the name of it's parent category (DLC, chapter)
local DLCandCHAPTERdata = {}
for dlcId, dlcAchievementId in ipairs(dlcAndChapterAchievementIds) do
    if dlcId and dlcAchievementId and dlcAchievementId > 0 then
        DLCandCHAPTERdata[dlcId] = ZO_CachedStrFormat("<<C:1>>", GetAchievementCategoryInfo(GetCategoryInfoFromAchievementId(dlcAchievementId)))
    end
end
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox