comparison 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
comparison
equal deleted inserted replaced
0:3830a592cb0f 1:232617b8bcd5
202 local QuestsByReward = {} 202 local QuestsByReward = {}
203 local QuestsByTag = {} 203 local QuestsByTag = {}
204 local QuestsByID = {} 204 local QuestsByID = {}
205 local QuestPositions = {} 205 local QuestPositions = {}
206 local FilterInclusions = {rewardType = {}, worldQuestType = {}} 206 local FilterInclusions = {rewardType = {}, worldQuestType = {}}
207 local FilterExclusions = {rewardType = {}, worldQuestType = {}} 207 local FilterExclusions = {rewardType = {}, worldQuestType = {} }
208 local NotificationTypes = {}
208 local ZoneInfo = {} 209 local ZoneInfo = {}
209 local SummaryHeaders = {} 210 local SummaryHeaders = {}
210 211
211 local FreePins = {} 212 local FreePins = {}
212 local NumPinFrames = 1 213 local NumPinFrames = 1
797 pin.isNew = nil 798 pin.isNew = nil
798 pin:Show() 799 pin:Show()
799 pin.FadeIn:Play() 800 pin.FadeIn:Play()
800 end) 801 end)
801 if not notifyPlayed then 802 if not notifyPlayed then
802 notifyPlayed = true 803 for k,v in pairs(NotificationTypes) do
803 PlaySoundKitID(23404) 804 if v[pin[k]] then
805 notifyPlayed = true
806 PlaySoundKitID(23404)
807 end
808 end
804 end 809 end
805 tinsert(debug_animate,questID) 810 tinsert(debug_animate,questID)
806 end 811 end
812 -- trap new but animating pins here
807 else 813 else
808 -- hard show existing pin 814 -- hard show existing pin
809 pin:Show() 815 pin:Show()
810 tinsert(debug_show,questID) 816 tinsert(debug_show,questID)
811 end 817 end
829 end 835 end
830 end 836 end
831 print(' adding:', table.concat(debug_animate, ',' )) 837 print(' adding:', table.concat(debug_animate, ',' ))
832 print(' showing:', table.concat(debug_show, ',' )) 838 print(' showing:', table.concat(debug_show, ',' ))
833 hasNewQuestPins = nil 839 hasNewQuestPins = nil
840 notifyPlayed = nil
834 end 841 end
835 842
836 -- data provider manipulations for the taxi map 843 -- data provider manipulations for the taxi map
837 WorldPlan.OnFlightMapLoaded = function() 844 WorldPlan.OnFlightMapLoaded = function()
838 if true then return end 845 if true then return end