5 Commits

Author SHA1 Message Date
5b441d1dee Update LibDataBroker external 2022-10-31 15:19:54 -04:00
6afc62a355 Update for Dragonflight 2022-10-31 14:56:24 -04:00
3fd9daf009 Defer updates until fully loaded 2020-12-16 15:31:30 -05:00
c30f0fe3ae Fix localization issue 2020-11-27 09:58:20 -05:00
7ed4da43cd Update for 9.0.2 2020-11-17 12:55:28 -05:00
4 changed files with 21 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ externals:
url: https://repos.wowace.com/wow/libqtip-1-0 url: https://repos.wowace.com/wow/libqtip-1-0
tag: latest tag: latest
Libs/LibDataBroker-1.1: Libs/LibDataBroker-1.1:
url: git://github.com/tekkub/libdatabroker-1-1.git url: https://github.com/tekkub/libdatabroker-1-1
tag: latest tag: latest
Libs/AceLocale-3.0: Libs/AceLocale-3.0:
url: https://repos.wowace.com/wow/ace3/trunk/AceLocale-3.0 url: https://repos.wowace.com/wow/ace3/trunk/AceLocale-3.0

View File

@@ -34,7 +34,7 @@ L["Need"] = true
L["Gather:"] = true L["Gather:"] = true
L["Done"] = true L["Done"] = true
L["Disabled until level 90"] = true L["Disabled until level 10"] = true
L["Best Friends with everyone"] = true L["Best Friends with everyone"] = true

View File

@@ -363,13 +363,17 @@ local function SetSort(cell, sort)
private.db.global.sort_dir = "ASC" private.db.global.sort_dir = "ASC"
end end
if not private.loaded then
return
end
TillerTracker:UpdateData() TillerTracker:UpdateData()
TillerTracker:UpdateTooltip() TillerTracker:UpdateTooltip()
end end
function TillerTracker:ReputationDone(reputationId) function TillerTracker:ReputationDone(reputationId)
-- Get the reputation information -- Get the reputation information
local _, friendRep = GetFriendshipReputation(reputationId) local friendRep = C_GossipInfo.GetFriendshipReputation(reputationId).standing
-- Done if over exalted -- Done if over exalted
return (friendRep > 42000) return (friendRep > 42000)
@@ -648,6 +652,10 @@ function LDB.OnEnter(self)
end end
function TillerTracker:QUEST_LOG_UPDATE() function TillerTracker:QUEST_LOG_UPDATE()
if not private.loaded then
return
end
TillerTracker:UpdateData() TillerTracker:UpdateData()
TillerTracker:UpdateText() TillerTracker:UpdateText()
@@ -659,6 +667,10 @@ function TillerTracker:QUEST_LOG_UPDATE()
end end
function TillerTracker:BAG_UPDATE() function TillerTracker:BAG_UPDATE()
if not private.loaded then
return
end
TillerTracker:UpdateData() TillerTracker:UpdateData()
TillerTracker:UpdateText() TillerTracker:UpdateText()
@@ -718,6 +730,10 @@ end
function TillerTracker:SetPlanAhead(value) function TillerTracker:SetPlanAhead(value)
private.db.global.plan_ahead = value private.db.global.plan_ahead = value
if not private.loaded then
return
end
TillerTracker:UpdateData() TillerTracker:UpdateData()
TillerTracker:UpdateText() TillerTracker:UpdateText()

View File

@@ -1,6 +1,6 @@
## Interface: 90001 ## Interface: 100000
## Title: Tiller Tracker ## Title: Tiller Tracker
## Version: 9.0.2 ## Version: 10.0.0
## Notes: Helps with the daily Tiller food quests ("A Dish for...") by keeping track of what quests have been completed that day, how many dishes need to be cooked, and what materials are required. ## Notes: Helps with the daily Tiller food quests ("A Dish for...") by keeping track of what quests have been completed that day, how many dishes need to be cooked, and what materials are required.
## Author: Amanoa ## Author: Amanoa
## SavedVariables: TillerTrackerDB ## SavedVariables: TillerTrackerDB