comparison ClassPlan.lua @ 9:a2b623043970 v1.0-rc

WorldQuests: - Filter interface controls reworked: Left-Click toggles inclusive filtering, right-click toggle exclusion, and holding ctrl or shift will flip or reset the other filters of that type respectively. - Fix QuestPOI texture masks disappearing when toggling filter options * new masks aren't applied until SetTexture() is called, making a seemingly redundant call necessary for the change to manifest - Implemented configuration data storage and retrieval; tracking menu options should actually do something now. - Ignore remaining time for Profession quests that aren't part of the player's profession loadout - Alternate tooltip data appears for Pet Battle quests involved in the Family Familar achievement. A list of outstanding criteria is provided in the POI tooltip, and the quest name is highlighted in the filter tooltip. ClassPlan: - actually handle the mission complete icon
author Nenue
date Sun, 23 Oct 2016 17:18:31 -0400
parents 802abb8a10ea
children 08b03bcdfeac
comparison
equal deleted inserted replaced
8:802abb8a10ea 9:a2b623043970
24 timers = {}, 24 timers = {},
25 shipments = {}, 25 shipments = {},
26 playerFirst = false, 26 playerFirst = false,
27 prototypes = {} 27 prototypes = {}
28 } 28 }
29
29 ClassPlanMissionMixin = { 30 ClassPlanMissionMixin = {
30 templateName = 'ClassPlanMissionEntry', 31 templateName = 'ClassPlanMissionEntry',
31 events = {'GARRISON_MISSION_LIST_UPDATE', 'GARRISON_MISSION_STARTED', 'GARRISON_MISSION_FINISHED', 'GARRISON_LANDINGPAGE_SHIPMENTS'},} 32 events = {'GARRISON_MISSION_LIST_UPDATE', 'GARRISON_MISSION_STARTED', 'GARRISON_MISSION_FINISHED', 'GARRISON_LANDINGPAGE_SHIPMENTS'},}
32 ClassPlanShipmentMixin = { 33 ClassPlanShipmentMixin = {
33 templateName = 'ClassPlanShipmentEntry', 34 templateName = 'ClassPlanShipmentEntry',
578 self.rewardInfo = self.rewards[1] 579 self.rewardInfo = self.rewards[1]
579 else 580 else
580 self.Icon:SetAtlas(self.typeAtlas, false) 581 self.Icon:SetAtlas(self.typeAtlas, false)
581 end 582 end
582 583
584 if self.isComplete then
585 self.Done:Show()
586 else
587 self.Done:Hide()
588 end
583 589
584 end 590 end
585 591
586 592
587 function MissionsHandler:OnEnter() 593 function MissionsHandler:OnEnter()