Mercurial > wow > spotlight-hidden-artifact-skin-tracking
comparison Spotlight.lua @ 27:915a2b4cd5d5
Updated some terminology to be more consistent.
author | Vynn <mischivin@gmail.com> |
---|---|
date | Sun, 02 Apr 2017 14:24:16 -0400 |
parents | 6c495455f069 |
children | c5ff9082ba94 |
comparison
equal
deleted
inserted
replaced
26:6c495455f069 | 27:915a2b4cd5d5 |
---|---|
27 if Spotlight.IDs then | 27 if Spotlight.IDs then |
28 for key, value in pairs(Spotlight.IDs) do | 28 for key, value in pairs(Spotlight.IDs) do |
29 if not Spotlight.Status[key].Completed then | 29 if not Spotlight.Status[key].Completed then |
30 print(" " .. ICONS[tostring(key)] .. " |cffe5cc80" .. key .. " - " .. Spotlight.Format(key, false) .. " (" .. Spotlight.Format(key, true) .. ")|r"); | 30 print(" " .. ICONS[tostring(key)] .. " |cffe5cc80" .. key .. " - " .. Spotlight.Format(key, false) .. " (" .. Spotlight.Format(key, true) .. ")|r"); |
31 else | 31 else |
32 print(" " .. ICONS[tostring(key)] .. " |cffe5cc80" .. key .. " - |cff00ff00Completed!|r"); | 32 print(" " .. ICONS[tostring(key)] .. " |cffe5cc80" .. key .. " - |cff00ff00Unlocked!|r"); |
33 end | 33 end |
34 end | 34 end |
35 end | 35 end |
36 end | 36 end |
37 | 37 |
142 self:AddLine("|cffe5cc80Spotlight - Hidden Artifact Skins|r|n|n"); | 142 self:AddLine("|cffe5cc80Spotlight - Hidden Artifact Skins|r|n|n"); |
143 for k, v in pairs(Spotlight.IDs) do | 143 for k, v in pairs(Spotlight.IDs) do |
144 if not Spotlight.Status[k].Completed then | 144 if not Spotlight.Status[k].Completed then |
145 self:AddDoubleLine(ICONS[tostring(k)] .. " " .. k .. ":", Spotlight.Format(k, false) .. " (" .. Spotlight.Format(k, true) .. ")"); | 145 self:AddDoubleLine(ICONS[tostring(k)] .. " " .. k .. ":", Spotlight.Format(k, false) .. " (" .. Spotlight.Format(k, true) .. ")"); |
146 else | 146 else |
147 self:AddDoubleLine(ICONS[tostring(k)] .. " " .. k .. ":", "|cff00ff00Completed!|r"; | 147 self:AddDoubleLine(ICONS[tostring(k)] .. " " .. k .. ":", "|cff00ff00Unlocked!|r"; |
148 | 148 |
149 end | 149 end |
150 end | 150 end |
151 self:AddLine("|nLeft Click to toggle Percentage or Fractional Display"); | 151 self:AddLine("|nLeft Click to toggle Percentage or Fractional Display"); |
152 self:AddLine("|nRight Click to toggle Icon or Text Labels") | 152 self:AddLine("|nRight Click to toggle Icon or Text Labels") |