2 Commits

Author SHA1 Message Date
cce4f893aa Set TomTom to right zone and fix config command 2025-11-25 11:01:01 -05:00
4c9f9eb9ec Add TOC file for MoP 2025-11-25 10:22:07 -05:00
3 changed files with 39 additions and 4 deletions

View File

@@ -330,10 +330,9 @@ local function Entry_OnMouseUp(frame, info, button)
return return
end end
local m = TomTom:GetCurrentPlayerPosition()
local location = info["LOCATION"] local location = info["LOCATION"]
_G.TomTom:AddWaypoint(m, location[1] / 100, location[2] / 100, { title = info["NAME"] }) _G.TomTom:AddWaypoint(376, location[1] / 100, location[2] / 100, { title = info["NAME"] })
end end
end end
@@ -714,7 +713,12 @@ function TillerTracker:ChatCommand(input)
command = command:lower() command = command:lower()
if command == L["config"]:lower() then if command == L["config"]:lower() then
InterfaceOptionsFrame_OpenToCategory(private.optionsFrame) if Settings then
Settings.OpenToCategory("Tiller Tracker")
elseif InterfaceOptionsFrame_OpenToCategory then
InterfaceOptionsFrame_OpenToCategory("Tiller Tracker")
InterfaceOptionsFrame_OpenToCategory("Tiller Tracker")
end
elseif command == L["minimap"]:lower() then elseif command == L["minimap"]:lower() then
private.db.global.minimap_icon.hide = not private.db.global.minimap_icon.hide private.db.global.minimap_icon.hide = not private.db.global.minimap_icon.hide
TillerTracker:UpdateMinimapConfig() TillerTracker:UpdateMinimapConfig()

View File

@@ -1,6 +1,6 @@
## Interface: 110205 ## Interface: 110205
## Title: Tiller Tracker ## Title: Tiller Tracker
## Version: 11.0.3 ## Version: 11.0.5
## 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

31
TillerTracker_Mists.toc Normal file
View File

@@ -0,0 +1,31 @@
## Interface: 50500
## Title: Tiller Tracker
## Version: 11.0.5
## 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
## SavedVariables: TillerTrackerDB
## OptionalDeps: Ace3, AceEvent-3.0, LibQTip-1.0, LibStub, AceTimer-3.0, AceConsole-3.0
#@no-lib-strip@
Libs\LibStub\LibStub.lua
Libs\CallbackHandler-1.0\CallbackHandler-1.0.xml
Libs\AceAddon-3.0\AceAddon-3.0.xml
Libs\AceConsole-3.0\AceConsole-3.0.xml
Libs\AceEvent-3.0\AceEvent-3.0.xml
Libs\AceLocale-3.0\AceLocale-3.0.xml
Libs\AceTimer-3.0\AceTimer-3.0.xml
Libs\AceDB-3.0\AceDB-3.0.xml
Libs\AceGUI-3.0\AceGUI-3.0.xml
Libs\AceConfig-3.0\AceConfig-3.0.xml
Libs\LibQTip-1.0\lib.xml
Libs\LibDataBroker-1.1\LibDataBroker-1.1.lua
Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua
#@end-no-lib-strip@
Locale\enUS.lua
Locale\frFR.lua
Locale\deDE.lua
Data.lua
Sort.lua
TillerTracker.lua