Mercurial > wow > worldplan
comparison FilterBar.lua @ 117:a4dfdd4f1cf3 v7.3.2-20171215
- Fixed filter pins not working on Argus maps
- More taint counter-measures
author | Nenue |
---|---|
date | Fri, 15 Dec 2017 16:38:09 -0500 |
parents | b67ba1078824 |
children | b528ba7c239c |
comparison
equal
deleted
inserted
replaced
116:bf4a36378bb9 | 117:a4dfdd4f1cf3 |
---|---|
414 GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT') | 414 GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT') |
415 GameTooltip:AddLine(headerNames[self.info.filterKey]) | 415 GameTooltip:AddLine(headerNames[self.info.filterKey]) |
416 GameTooltip:AddLine(self.info.label) | 416 GameTooltip:AddLine(self.info.label) |
417 wipe(found) | 417 wipe(found) |
418 | 418 |
419 | |
420 | |
419 if self.numQuestsHere >= 1 then | 421 if self.numQuestsHere >= 1 then |
420 if self.numQuestsHere < self.numQuestsTotal then | 422 if self.numQuestsHere < self.numQuestsTotal then |
421 GameTooltip:AddLine('This Zone', 1, 1, 0) | 423 GameTooltip:AddLine('This Zone', 1, 1, 0) |
422 end | 424 end |
423 for index, pin in ipairs(self.LocalMatches) do | 425 for index, pin in ipairs(self.LocalMatches) do |
424 local colorInfo = (pin.quality and ITEM_QUALITY_COLORS[pin.quality]) or rgbWhite | 426 if not IsQuestFlaggedCompleted(pin.questID) then |
425 found[pin] = pin | 427 local colorInfo = (pin.quality and ITEM_QUALITY_COLORS[pin.quality]) or rgbWhite |
426 GameTooltip:AddLine('|T'.. tostring(pin.itemTexture)..':16:16|t ' .. tostring(pin.title) ..(pin.cheevos and " |cFFFFFF00!|R" or ''), 0, 1, 0) | 428 found[pin] = pin |
429 GameTooltip:AddLine('|T'.. tostring(pin.itemTexture)..':16:16|t ' .. tostring(pin.title) ..(pin.cheevos and " |cFFFFFF00!|R" or ''), 0, 1, 0) | |
430 end | |
427 end | 431 end |
428 end | 432 end |
429 | 433 |
430 if self.numQuestsHere < self.numQuestsTotal then | 434 if self.numQuestsHere < self.numQuestsTotal then |
431 if self.numQuestsHere >= 1 then | 435 if self.numQuestsHere >= 1 then |
432 GameTooltip:AddLine(' ') | 436 GameTooltip:AddLine(' ') |
433 end | 437 end |
434 GameTooltip:AddLine('Other Maps', 1, 1, 0) | 438 GameTooltip:AddLine('Other Zones', 1, 1, 0) |
435 for index, pin in ipairs(self.GlobalMatches) do | 439 for index, pin in ipairs(self.GlobalMatches) do |
436 if not found[pin] then | 440 if not IsQuestFlaggedCompleted(pin.questID) then |
437 local colorInfo = (pin.quality and ITEM_QUALITY_COLORS[pin.quality]) or rgbWhite | 441 if not found[pin] then |
438 found[pin] = pin | 442 local colorInfo = (pin.quality and ITEM_QUALITY_COLORS[pin.quality]) or rgbWhite |
439 GameTooltip:AddLine('|T'.. tostring(pin.itemTexture)..':16:16|t ' .. tostring(pin.title) ..(pin.cheevos and " |cFFFFFF00!|R" or ''), 1, 1, 1) | 443 found[pin] = pin |
444 GameTooltip:AddLine('|T'.. tostring(pin.itemTexture)..':16:16|t ' .. tostring(pin.title) ..(pin.cheevos and " |cFFFFFF00!|R" or ''), 1, 1, 1) | |
445 end | |
440 end | 446 end |
441 end | 447 end |
442 end | 448 end |
443 | 449 |
444 | 450 |