/trunk
local options = {} |
local db |
local raceCurrencies = {} |
local mappings = { |
{ -- Kalimdor |
['mapID'] = 12 |
}, |
{ -- Eastern Kingdoms |
['mapID'] = 13 |
}, |
{ -- Outland |
['mapID'] = 101 |
}, |
{ -- Northrend |
['mapID'] = 113 |
}, |
{ -- Maelstrom |
['mapID'] = 948 |
}, |
{ -- Pandaria |
['mapID'] = 424 |
}, |
{ -- WoD |
['mapID'] = 572 |
}, |
{ -- Legion |
['mapID'] = 619 |
}, |
{ -- Argus |
['mapID'] = 905 |
}, |
} |
local findings = { |
[12] = { -- Kalimdor mapID 12 |
[0] = true, |
if(not IsAddOnLoaded("Blizzard_ArchaeologyUI")) then |
UIParentLoadAddOn("Blizzard_ArchaeologyUI") |
end |
local continent = getContinent() |
local continent = C_Map and getContinent() or GetCurrentMapContinent() |
if(continent) then |
for i=1,GetNumArchaeologyRaces() do |
local raceName, raceTexture, raceItemID, raceCurrency, numFragmentsRequired = GetArchaeologyRaceInfo(i) |