Mercurial > wow > worldplan
diff WorldPlan.lua @ 1:232617b8bcd5
New Order Hall mission tracker:
- record active missions and shipments across characters
author | Nenue |
---|---|
date | Thu, 13 Oct 2016 05:32:43 -0400 |
parents | 3830a592cb0f |
children | 34d9fbf7af20 |
line wrap: on
line diff
--- a/WorldPlan.lua Tue Oct 11 17:20:37 2016 -0400 +++ b/WorldPlan.lua Thu Oct 13 05:32:43 2016 -0400 @@ -204,7 +204,8 @@ local QuestsByID = {} local QuestPositions = {} local FilterInclusions = {rewardType = {}, worldQuestType = {}} -local FilterExclusions = {rewardType = {}, worldQuestType = {}} +local FilterExclusions = {rewardType = {}, worldQuestType = {} } +local NotificationTypes = {} local ZoneInfo = {} local SummaryHeaders = {} @@ -799,11 +800,16 @@ pin.FadeIn:Play() end) if not notifyPlayed then - notifyPlayed = true - PlaySoundKitID(23404) + for k,v in pairs(NotificationTypes) do + if v[pin[k]] then + notifyPlayed = true + PlaySoundKitID(23404) + end + end end tinsert(debug_animate,questID) end + -- trap new but animating pins here else -- hard show existing pin pin:Show() @@ -831,6 +837,7 @@ print(' adding:', table.concat(debug_animate, ',' )) print(' showing:', table.concat(debug_show, ',' )) hasNewQuestPins = nil + notifyPlayed = nil end -- data provider manipulations for the taxi map