diff 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
line wrap: on
line diff
--- a/ClassPlan.lua	Sun Oct 23 07:19:53 2016 -0400
+++ b/ClassPlan.lua	Sun Oct 23 17:18:31 2016 -0400
@@ -26,6 +26,7 @@
   playerFirst = false,
   prototypes = {}
 }
+
 ClassPlanMissionMixin = {
   templateName = 'ClassPlanMissionEntry',
   events = {'GARRISON_MISSION_LIST_UPDATE', 'GARRISON_MISSION_STARTED', 'GARRISON_MISSION_FINISHED', 'GARRISON_LANDINGPAGE_SHIPMENTS'},}
@@ -580,6 +581,11 @@
     self.Icon:SetAtlas(self.typeAtlas, false)
   end
 
+  if self.isComplete then
+    self.Done:Show()
+  else
+    self.Done:Hide()
+  end
 
 end