diff --git a/ForeverGuide.toc b/CoffeyGuide.toc similarity index 85% rename from ForeverGuide.toc rename to CoffeyGuide.toc index 91d086a..7798993 100644 --- a/ForeverGuide.toc +++ b/CoffeyGuide.toc @@ -1,16 +1,16 @@ ## Interface: 16001 -## Title: ForeverGuide -## Notes: Leveling guide for WoW Forever: route for every race/class, talents, spec guides, gear & pre-raid BiS, professions, gold and extras. /fg -## Version: 2.1.0 +## Title: Coffey's Leveling Guide +## Notes: Leveling guide for WoW Forever: route for every race/class, talents, spec guides, gear & pre-raid BiS, professions, gold and extras. /cguide +## Version: 3.0.0 ## Author: Coffey Labs LLC ## X-Website: https://coffeylabs.org ## X-Copyright: Copyright (c) 2026 Coffey Labs LLC ## X-License: MIT ## IconTexture: Interface\Icons\INV_Misc_Book_09 -## SavedVariables: ForeverGuideDB -## SavedVariablesPerCharacter: ForeverGuideCharDB +## SavedVariables: CoffeyGuideDB +## SavedVariablesPerCharacter: CoffeyGuideCharDB ## OptionalDeps: TomTom, Questie, ForeverDungeonJournal -## AddonCompartmentFunc: ForeverGuide_OnAddonCompartmentClick +## AddonCompartmentFunc: CoffeyGuide_OnAddonCompartmentClick Libs\LibStub\LibStub.lua Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua diff --git a/Core.lua b/Core.lua index 932ea28..f414e5f 100644 --- a/Core.lua +++ b/Core.lua @@ -1,4 +1,4 @@ --- ForeverGuide core: player detection, route building, progress, talents, professions, events. +-- Coffey's Leveling Guide core: player detection, route building, progress, talents, professions, events. local ADDON, ns = ... local Print = ns.Print @@ -404,7 +404,7 @@ function ns.EnsureTalents() ns.ScanTalents() end --- /fg talentdebug: what the client's talent API returns, for bug reports. +-- /cguide talentdebug: what the client's talent API returns, for bug reports. function ns.TalentDebug() ns.ScanTalents() local n = 0; for _ in pairs(ns.talents.byName) do n = n + 1 end @@ -575,13 +575,13 @@ events:SetScript("OnEvent", function(_, event, ...) if event == "ADDON_LOADED" then local name = ... if name == ADDON then - ForeverGuideDB = ForeverGuideDB or {} - for k, v in pairs(DEFAULTS) do if ForeverGuideDB[k] == nil then ForeverGuideDB[k] = v end end - ForeverGuideCharDB = ForeverGuideCharDB or {} - local c = ForeverGuideCharDB + CoffeyGuideDB = CoffeyGuideDB or {} + for k, v in pairs(DEFAULTS) do if CoffeyGuideDB[k] == nil then CoffeyGuideDB[k] = v end end + CoffeyGuideCharDB = CoffeyGuideCharDB or {} + local c = CoffeyGuideCharDB c.done, c.skip, c.questNames, c.plan = c.done or {}, c.skip or {}, c.questNames or {}, c.plan or {} - if ForeverGuideDB.useQuestie == nil then ForeverGuideDB.useQuestie = true end - ns.db, ns.char = ForeverGuideDB, ForeverGuideCharDB + if CoffeyGuideDB.useQuestie == nil then CoffeyGuideDB.useQuestie = true end + ns.db, ns.char = CoffeyGuideDB, CoffeyGuideCharDB end ns.Fire("AddonLoaded", name) @@ -593,7 +593,7 @@ events:SetScript("OnEvent", function(_, event, ...) ns.ScanProfessions() ns.Fire("Login") ns.Fire("Refresh") - Print(("%s %s %s detected - %d route steps. /fg to toggle, /fg guide for the full guide.") + Print(("%s %s %s detected - %d route steps. /cguide to toggle, /cguide guide for the full guide.") :format(ns.player.raceName or "?", ns.player.className or "?", ns.player.faction or "", #ns.route)) elseif event == "PLAYER_ENTERING_WORLD" then @@ -649,8 +649,8 @@ end) --------------------------------------------------------------------------- -- Slash commands --------------------------------------------------------------------------- -SLASH_FOREVERGUIDE1, SLASH_FOREVERGUIDE2 = "/fg", "/foreverguide" -SlashCmdList.FOREVERGUIDE = function(msg) +SLASH_COFFEYGUIDE1, SLASH_COFFEYGUIDE2 = "/cguide", "/coffeyguide" +SlashCmdList.COFFEYGUIDE = function(msg) msg = ns.Trim((msg or ""):lower()) local tabs = { guide = "route", route = "route", quests = "questlog", log = "questlog", talents = "talents", talent = "talents", spec = "spec", gear = "gear", bis = "gear", prof = "professions", profs = "professions", professions = "professions", @@ -670,9 +670,9 @@ SlashCmdList.FOREVERGUIDE = function(msg) ns.char.pos = nil; ns.Fire("ResetPosition") elseif msg == "talentdebug" then ns.TalentDebug() elseif msg == "support" or msg == "donate" then - Print("ForeverGuide is free. To support Coffey Labs: " .. ns.SUPPORT); ns.ShowLink(ns.SUPPORT) + Print("Coffey's Leveling Guide is free. To support Coffey Labs: " .. ns.SUPPORT); ns.ShowLink(ns.SUPPORT) else - Print("/fg - show/hide tracker /fg guide | talents | spec | gear | prof | gold | dungeons | settings") - Print("/fg next | prev /fg wp - waypoints for this step /fg reset /fg resetpos /fg support") + Print("/cguide - show/hide tracker /cguide guide | talents | spec | gear | prof | gold | dungeons | settings") + Print("/cguide next | prev /cguide wp - waypoints for this step /cguide reset /cguide resetpos /cguide support") end end diff --git a/Data/plans_alliance_1_17.lua b/Data/plans_alliance_1_17.lua index fd1fcab..ccb6c9f 100644 --- a/Data/plans_alliance_1_17.lua +++ b/Data/plans_alliance_1_17.lua @@ -1,4 +1,4 @@ --- ForeverGuide quest plans: Alliance starting zones, levels 1-17 +-- Coffey's Leveling Guide quest plans: Alliance starting zones, levels 1-17 -- (Human: Northshire, Elwynn, Westfall; Dwarf/Gnome: Coldridge, Kharanos, East Dun Morogh, -- Loch Modan; Night Elf: Shadowglen, Dolanaar, Darkshore). -- Sources: wowhandbook.com zone leveling guides (route order, NPC/objective coords), diff --git a/Gear.lua b/Gear.lua index 8f4f059..607e4e1 100644 --- a/Gear.lua +++ b/Gear.lua @@ -1,4 +1,4 @@ --- ForeverGuide gear advisor: scores items with spec stat weights, flags bag upgrades, +-- Coffey's Leveling Guide gear advisor: scores items with spec stat weights, flags bag upgrades, -- annotates tooltips and recommends quest rewards. local ADDON, ns = ... ns.WEIGHTS = ns.WEIGHTS or {} @@ -184,12 +184,12 @@ local function OnItemTooltip(tooltip) if not pct then return end local _, spec = G.Weights() if ns.rewardPick and ns.rewardPick == link then - tooltip:AddLine("|TInterface\\RaidFrame\\ReadyCheck-Ready:14|t ForeverGuide: recommended quest reward", 0.3, 0.9, 0.3) + tooltip:AddLine("|TInterface\\RaidFrame\\ReadyCheck-Ready:14|t Coffey's Guide: recommended quest reward", 0.3, 0.9, 0.3) end if pct >= 1 then - tooltip:AddLine(("ForeverGuide: |cff4ce64c+%d%% upgrade|r for %s"):format(pct, spec), 1, 0.82, 0) + tooltip:AddLine(("Coffey's Guide: |cff4ce64c+%d%% upgrade|r for %s"):format(pct, spec), 1, 0.82, 0) elseif pct <= -1 then - tooltip:AddLine(("ForeverGuide: %d%% vs equipped (%s)"):format(pct, spec), 0.6, 0.6, 0.6) + tooltip:AddLine(("Coffey's Guide: %d%% vs equipped (%s)"):format(pct, spec), 0.6, 0.6, 0.6) end tooltip:Show() end @@ -215,7 +215,7 @@ local announced = {} local function CreatePopup() local UI = ns.UI - popup = UI.Panel("ForeverGuideUpgrade", UIParent, 300, 64) + popup = UI.Panel("CoffeyGuideUpgrade", UIParent, 300, 64) popup:SetPoint("BOTTOM", UIParent, "BOTTOM", 0, 220) popup:SetFrameStrata("DIALOG") popup:Hide() diff --git a/History.lua b/History.lua index b78ef68..bd5539b 100644 --- a/History.lua +++ b/History.lua @@ -1,4 +1,4 @@ --- ForeverGuide quest history: reads the server's completed-quest list and the live quest log so +-- Coffey's Leveling Guide quest history: reads the server's completed-quest list and the live quest log so -- route progress reflects everything the character has done, including before the addon existed. -- Questie (optional) adds quest names for completed IDs and per-zone quest counts. local ADDON, ns = ... diff --git a/Init.lua b/Init.lua index 34f7e25..5f381f9 100644 --- a/Init.lua +++ b/Init.lua @@ -1,4 +1,4 @@ --- ForeverGuide: namespace, data registries and small shared helpers. +-- Coffey's Leveling Guide: namespace, data registries and small shared helpers. local ADDON, ns = ... ns.ADDON = ADDON @@ -71,7 +71,7 @@ ns.COLORS = { border = { 0.55, 0.45, 0.25, 1.00 }, } -local PREFIX = "|cffffd100ForeverGuide:|r " +local PREFIX = "|cffffd100Coffey's Guide:|r " function ns.Print(msg) DEFAULT_CHAT_FRAME:AddMessage(PREFIX .. tostring(msg)) end function ns.Hex(c) return ("|cff%02x%02x%02x"):format(c[1] * 255, c[2] * 255, c[3] * 255) end diff --git a/Plans.lua b/Plans.lua index 6c5d2dc..1bd20f8 100644 --- a/Plans.lua +++ b/Plans.lua @@ -1,4 +1,4 @@ --- ForeverGuide quest plans: quest-by-quest checklists attached to route steps, live quest-log +-- Coffey's Leveling Guide quest plans: quest-by-quest checklists attached to route steps, live quest-log -- tracking, and optional Questie database lookups for NPC locations (never required). local ADDON, ns = ... diff --git a/QoL.lua b/QoL.lua index 30026c1..c30b731 100644 --- a/QoL.lua +++ b/QoL.lua @@ -1,4 +1,4 @@ --- ForeverGuide quality-of-life automation. Everything here is OFF by default so it never +-- Coffey's Leveling Guide quality-of-life automation. Everything here is OFF by default so it never -- fights other addons (DialogueUI, Immersion, Leatrix Plus...). Hold Shift to bypass. local ADDON, ns = ... diff --git a/README.md b/README.md index 58799b6..4acb7b4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@ -# ForeverGuide +# Coffey's Leveling Guide A free, standalone leveling and gear guide for **World of Warcraft: Forever**, by [Coffey Labs LLC](https://coffeylabs.org). It works out your race, class, spec and professions on its own, then shows the next thing to do: the zone route from 1 to 60 for both factions and every race, including -Skyborne, plus quest-by-quest steps for the zones that have them. +Skyborne, with quest-by-quest steps for every zone. + +Formerly named ForeverGuide. It was renamed in 3.0.0 because another WoW Forever addon already +uses that name and the `/fg` command. ## Features @@ -25,16 +28,16 @@ Skyborne, plus quest-by-quest steps for the zones that have them. - Optional quality-of-life settings (auto accept, auto turn-in, sell gray items, auto repair). All are off by default; hold Shift to bypass them. -ForeverGuide needs no other addons. When TomTom, Questie or ForeverDungeonJournal are +Coffey's Leveling Guide needs no other addons. When TomTom, Questie or ForeverDungeonJournal are installed it uses them for waypoints and NPC locations, and never changes their settings or frames. ## Install -Download `ForeverGuide-.zip` from -[Releases](https://git.coffeylabs.org/coffey-labs/ForeverGuide/releases) and unzip it into +Download `CoffeyGuide-.zip` from +[Releases](https://git.coffeylabs.org/coffey-labs/CoffeyGuide/releases) and unzip it into `World of Warcraft/_forever_/Interface/AddOns/`, so the addon ends up in -`AddOns/ForeverGuide`. Then restart the game or type `/reload`. +`AddOns/CoffeyGuide`. Then restart the game or type `/reload`. Cloning this repository straight into `AddOns/` works too. @@ -42,16 +45,16 @@ Cloning this repository straight into `AddOns/` works too. | Command | Does | |---|---| -| `/fg` | Show or hide the tracker | -| `/fg guide` | Open the full guide window | -| `/fg quests` | Open the quest log tab | -| `/fg talents`, `/fg spec`, `/fg gear`, `/fg prof` | Open those tabs | -| `/fg gold`, `/fg dungeons`, `/fg settings` | Open those tabs | -| `/fg next`, `/fg prev` | Move between route steps | -| `/fg wp` | Set a waypoint for the current step | -| `/fg sync` | Re-read completed quests | -| `/fg resetpos` | Reset window positions | -| `/fg support` | Show the link to our funding options | +| `/cguide` | Show or hide the tracker | +| `/cguide guide` | Open the full guide window | +| `/cguide quests` | Open the quest log tab | +| `/cguide talents`, `/cguide spec`, `/cguide gear`, `/cguide prof` | Open those tabs | +| `/cguide gold`, `/cguide dungeons`, `/cguide settings` | Open those tabs | +| `/cguide next`, `/cguide prev` | Move between route steps | +| `/cguide wp` | Set a waypoint for the current step | +| `/cguide sync` | Re-read completed quests | +| `/cguide resetpos` | Reset window positions | +| `/cguide support` | Show the link to our funding options | The minimap button and the addon compartment open the guide (left-click) or toggle the tracker (right-click). @@ -75,10 +78,10 @@ from public WoW Forever guides and databases. ## Support the project -ForeverGuide is free and will stay free. If it saves you time, you can help keep +Coffey's Leveling Guide is free and will stay free. If it saves you time, you can help keep Coffey Labs going through GitHub Sponsors or Liberapay. Our [funding options](https://coffeylabs.org/support/) page lists both, along with what -the money pays for. In game, `/fg support` shows the link. +the money pays for. In game, `/cguide support` shows the link. ## License diff --git a/UI/Extras.lua b/UI/Extras.lua index 9a9627e..f1b8cc1 100644 --- a/UI/Extras.lua +++ b/UI/Extras.lua @@ -1,4 +1,4 @@ --- ForeverGuide: talent window highlight, level-up popup, minimap/compartment button. +-- Coffey's Leveling Guide: talent window highlight, level-up popup, minimap/compartment button. local ADDON, ns = ... local UI = ns.UI @@ -75,7 +75,7 @@ ns.On("Refresh", UpdateTalentGlow) local toast local function CreateToast() - toast = UI.Panel("ForeverGuideToast", UIParent, 360, 120) + toast = UI.Panel("CoffeyGuideToast", UIParent, 360, 120) toast:SetPoint("TOP", UIParent, "TOP", 0, -180) toast:SetFrameStrata("DIALOG") toast:Hide() @@ -136,29 +136,29 @@ end) local LDB = LibStub and LibStub("LibDataBroker-1.1", true) local DBIcon = LibStub and LibStub("LibDBIcon-1.0", true) -function ForeverGuide_OnAddonCompartmentClick(_, button) +function CoffeyGuide_OnAddonCompartmentClick(_, button) if button == "RightButton" then ns.Fire("ToggleTracker") else ns.Fire("OpenGuide") end end ns.On("Login", function() if not LDB or not DBIcon then return end - local obj = LDB:NewDataObject("ForeverGuide", { - type = "launcher", text = "ForeverGuide", icon = "Interface\\Icons\\INV_Misc_Book_09", - OnClick = function(_, button) ForeverGuide_OnAddonCompartmentClick(nil, button) end, + local obj = LDB:NewDataObject("CoffeyGuide", { + type = "launcher", text = "Coffey's Leveling Guide", icon = "Interface\\Icons\\INV_Misc_Book_09", + OnClick = function(_, button) CoffeyGuide_OnAddonCompartmentClick(nil, button) end, OnTooltipShow = function(tt) - tt:AddLine("ForeverGuide", 1, 0.82, 0) + tt:AddLine("Coffey's Leveling Guide", 1, 0.82, 0) local step = ns.route[ns.CurrentIndex()] if step then tt:AddLine("Now: " .. (step.title or ""), 1, 1, 1) end tt:AddLine("Left-click: full guide", 0.6, 0.6, 0.6) tt:AddLine("Right-click: show/hide tracker", 0.6, 0.6, 0.6) tt:AddLine("by Coffey Labs LLC - coffeylabs.org", 0.4, 0.73, 1) - tt:AddLine("Support us: coffeylabs.org/support (/fg support)", 0.4, 0.73, 1) + tt:AddLine("Support us: coffeylabs.org/support (/cguide support)", 0.4, 0.73, 1) end, }) - DBIcon:Register("ForeverGuide", obj, ns.db.minimap) + DBIcon:Register("CoffeyGuide", obj, ns.db.minimap) end) ns.On("MinimapChanged", function() if not DBIcon then return end - if ns.db.minimap.hide then DBIcon:Hide("ForeverGuide") else DBIcon:Show("ForeverGuide") end + if ns.db.minimap.hide then DBIcon:Hide("CoffeyGuide") else DBIcon:Show("CoffeyGuide") end end) diff --git a/UI/Guide.lua b/UI/Guide.lua index 90e999c..8c77eaf 100644 --- a/UI/Guide.lua +++ b/UI/Guide.lua @@ -1,4 +1,4 @@ --- ForeverGuide: the full guide window (route, talents, spec, gear, professions, gold & extras, dungeons, settings). +-- Coffey's Leveling Guide: the full guide window (route, talents, spec, gear, professions, gold & extras, dungeons, settings). local ADDON, ns = ... local UI = ns.UI local g -- window @@ -510,20 +510,20 @@ local function BuildSettings() plus:SetPoint("LEFT", minus, "RIGHT", 2, 0) y = y + 40 - local reset = UI.Button(settingsFrame, "Reset route progress", 170, function() SlashCmdList.FOREVERGUIDE("reset") end) + local reset = UI.Button(settingsFrame, "Reset route progress", 170, function() SlashCmdList.COFFEYGUIDE("reset") end) reset:SetPoint("TOPLEFT", 0, -y) local site = UI.Button(settingsFrame, "coffeylabs.org", 120, function() ns.ShowLink(ns.WEBSITE) end) - local pos = UI.Button(settingsFrame, "Reset tracker position", 170, function() SlashCmdList.FOREVERGUIDE("resetpos") end) + local pos = UI.Button(settingsFrame, "Reset tracker position", 170, function() SlashCmdList.COFFEYGUIDE("resetpos") end) pos:SetPoint("LEFT", reset, "RIGHT", 8, 0) site:SetPoint("LEFT", pos, "RIGHT", 8, 0) y = y + 30 local support = UI.Button(settingsFrame, "Support Coffey Labs", 170, function() ns.ShowLink(ns.SUPPORT) end) support:SetPoint("TOPLEFT", 0, -y) - UI.Tooltip(support, "Support Coffey Labs", "ForeverGuide is free. Click to copy the link to our funding options (" .. ns.SUPPORT .. ").") + UI.Tooltip(support, "Support Coffey Labs", "Coffey's Leveling Guide is free. Click to copy the link to our funding options (" .. ns.SUPPORT .. ").") y = y + 36 local info = UI.Text(settingsFrame, "GameFontDisableSmall") info:SetPoint("TOPLEFT", 0, -y); info:SetWidth(520) - info:SetText("ForeverGuide by Coffey Labs LLC - " .. ns.WEBSITE .. "\nCommands: /fg (toggle tracker), /fg guide, /fg quests, /fg talents, /fg spec, /fg gear, /fg prof, /fg gold, /fg dungeons, /fg sync, /fg wp, /fg next, /fg prev, /fg reset, /fg support.\nData: wowhandbook.com, icy-veins.com, warcrafttavern.com, warcraftmaps.com, topbuilds.gg (Nov 2026). Level bands are approximate.") + info:SetText("Coffey's Leveling Guide by Coffey Labs LLC - " .. ns.WEBSITE .. "\nCommands: /cguide (toggle tracker), /cguide guide, /cguide quests, /cguide talents, /cguide spec, /cguide gear, /cguide prof, /cguide gold, /cguide dungeons, /cguide sync, /cguide wp, /cguide next, /cguide prev, /cguide reset, /cguide support.\nData: wowhandbook.com, icy-veins.com, warcrafttavern.com, warcraftmaps.com, topbuilds.gg (Nov 2026). Level bands are approximate.") end --------------------------------------------------------------------------- @@ -552,7 +552,7 @@ local function Render() end local function Create() - g = UI.Panel("ForeverGuideWindow", UIParent, 760, 580) + g = UI.Panel("CoffeyGuideWindow", UIParent, 760, 580) g:SetPoint("CENTER") g:SetFrameStrata("HIGH") g:SetClampedToScreen(true) @@ -560,14 +560,14 @@ local function Create() g:SetScript("OnDragStart", g.StartMoving) g:SetScript("OnDragStop", g.StopMovingOrSizing) g:Hide() - tinsert(UISpecialFrames, "ForeverGuideWindow") -- close with Escape + tinsert(UISpecialFrames, "CoffeyGuideWindow") -- close with Escape local logo = g:CreateTexture(nil, "ARTWORK") logo:SetSize(30, 30); logo:SetPoint("TOPLEFT", 12, -10) UI.ClassIcon(logo, ns.player.class) local name = UI.Text(g, "GameFontNormalLarge") name:SetPoint("LEFT", logo, "RIGHT", 8, 0) - name:SetText("ForeverGuide") + name:SetText("Coffey's Leveling Guide") local credit = CreateFrame("Button", nil, g) credit:SetPoint("LEFT", name, "RIGHT", 10, -1) credit.text = UI.Text(credit, "GameFontHighlightSmall") diff --git a/UI/Tracker.lua b/UI/Tracker.lua index bd79721..267490b 100644 --- a/UI/Tracker.lua +++ b/UI/Tracker.lua @@ -1,4 +1,4 @@ --- ForeverGuide tracker: the compact always-on panel showing the current step. +-- Coffey's Leveling Guide tracker: the compact always-on panel showing the current step. local ADDON, ns = ... local UI = ns.UI local W = 340 @@ -23,7 +23,7 @@ local function KindIcon(step) end local function Create() - frame = UI.Panel("ForeverGuideTracker", UIParent, W, 200) + frame = UI.Panel("CoffeyGuideTracker", UIParent, W, 200) frame:SetFrameStrata("MEDIUM") frame:SetClampedToScreen(true) frame:SetMovable(true); frame:EnableMouse(true); frame:RegisterForDrag("LeftButton") diff --git a/UI/Widgets.lua b/UI/Widgets.lua index 0ad7356..fea99f4 100644 --- a/UI/Widgets.lua +++ b/UI/Widgets.lua @@ -1,4 +1,4 @@ --- ForeverGuide shared UI helpers. +-- Coffey's Leveling Guide shared UI helpers. local ADDON, ns = ... local UI = {} ns.UI = UI @@ -226,7 +226,7 @@ end local linkBox function ns.ShowLink(url) if not linkBox then - linkBox = UI.Panel("ForeverGuideLinkPopup", UIParent, 340, 74) + linkBox = UI.Panel("CoffeyGuideLinkPopup", UIParent, 340, 74) linkBox:SetPoint("CENTER", 0, 120) linkBox:SetFrameStrata("FULLSCREEN_DIALOG") local t = UI.Text(linkBox, "GameFontNormal") diff --git a/Waypoints.lua b/Waypoints.lua index 1afebcf..71e6369 100644 --- a/Waypoints.lua +++ b/Waypoints.lua @@ -1,4 +1,4 @@ --- ForeverGuide waypoints: world map + minimap pins (HereBeDragons), TomTom integration, built-in arrow. +-- Coffey's Leveling Guide waypoints: world map + minimap pins (HereBeDragons), TomTom integration, built-in arrow. local ADDON, ns = ... local HBD = LibStub and LibStub("HereBeDragons-2.0", true) @@ -31,7 +31,7 @@ local function AcquirePin(size) GameTooltip:SetOwner(self, "ANCHOR_RIGHT") GameTooltip:AddLine(self.label or "", 1, 0.82, 0) if self.stepTitle then GameTooltip:AddLine(self.stepTitle, 1, 1, 1) end - GameTooltip:AddLine("ForeverGuide", 0.5, 0.5, 0.5) + GameTooltip:AddLine("Coffey's Leveling Guide", 0.5, 0.5, 0.5) GameTooltip:Show() end) pin:SetScript("OnLeave", function() GameTooltip:Hide() end) @@ -99,7 +99,7 @@ end local arrow local function CreateArrow() - arrow = CreateFrame("Button", "ForeverGuideArrow", UIParent) + arrow = CreateFrame("Button", "CoffeyGuideArrow", UIParent) arrow:SetSize(64, 80) arrow:SetPoint("TOP", UIParent, "TOP", 0, -120) arrow:SetMovable(true); arrow:EnableMouse(true); arrow:RegisterForDrag("LeftButton") diff --git a/media/logo-64.png b/media/logo-64.png new file mode 100644 index 0000000..16a89ac Binary files /dev/null and b/media/logo-64.png differ diff --git a/media/logo.png b/media/logo.png new file mode 100644 index 0000000..4484266 Binary files /dev/null and b/media/logo.png differ diff --git a/tools/harness.lua b/tools/harness.lua index d9dcbf8..39c08aa 100644 --- a/tools/harness.lua +++ b/tools/harness.lua @@ -1,4 +1,4 @@ --- Loads ForeverGuide against a mock WoW API and drives it through its main flows. +-- Loads Coffey's Leveling Guide against a mock WoW API and drives it through its main flows. -- usage: lua5.1 harness.lua local dir, dataDir = arg[1], arg[2] local P = { race = arg[3] or "Undead", raceFile = arg[4] or "Scourge", class = arg[5] or "PALADIN", @@ -156,7 +156,7 @@ end ---------------------------------------------------------------- load files from the toc local ns = {} -local toc = io.open(dir .. "/ForeverGuide.toc"):read("*a") +local toc = io.open(dir .. "/CoffeyGuide.toc"):read("*a") local missing = {} for line in toc:gmatch("[^\r\n]+") do if not line:match("^##") and line:match("%.lua$") and not line:match("^Libs") then @@ -167,7 +167,7 @@ for line in toc:gmatch("[^\r\n]+") do if err:match("No such file") or err:match("cannot open") then missing[#missing + 1] = path else error(err) end else - chunk("ForeverGuide", ns) + chunk("CoffeyGuide", ns) end end end @@ -206,7 +206,7 @@ if os.getenv("HISTORY") then end end end -fire("ADDON_LOADED", "ForeverGuide") +fire("ADDON_LOADED", "CoffeyGuide") fire("PLAYER_LOGIN") fire("ADDON_LOADED", "Blizzard_TalentUI") if os.getenv("TALENT_LATE") then @@ -226,12 +226,12 @@ ns.TalentDebug() if os.getenv("TALENT_API") then for k, v in pairs(ns.char.talentDiag) do print("diag", k, v) end end for _, tab in ipairs({ "quests", "route", "talents", "spec", "gear", "professions", "extras", "dungeons", "settings" }) do - SlashCmdList.FOREVERGUIDE(tab == "route" and "guide" or tab) + SlashCmdList.COFFEYGUIDE(tab == "route" and "guide" or tab) print("rendered tab", tab) end -SlashCmdList.FOREVERGUIDE("next"); SlashCmdList.FOREVERGUIDE("prev"); SlashCmdList.FOREVERGUIDE("wp") -SlashCmdList.FOREVERGUIDE("") -- hide -SlashCmdList.FOREVERGUIDE("") -- show +SlashCmdList.COFFEYGUIDE("next"); SlashCmdList.COFFEYGUIDE("prev"); SlashCmdList.COFFEYGUIDE("wp") +SlashCmdList.COFFEYGUIDE("") -- hide +SlashCmdList.COFFEYGUIDE("") -- show ns.db.minimized = true; ns.Fire("Refresh"); ns.db.minimized = false for i = 1, #ns.route do ns.SetView(i) end ns.SetView(nil) @@ -251,7 +251,7 @@ end P.level = P.level + 1 fire("PLAYER_LEVEL_UP", P.level) ns.ToggleDone(ns.route[ns.CurrentIndex()]); ns.Skip(ns.route[ns.CurrentIndex()]) -SlashCmdList.FOREVERGUIDE("reset") +SlashCmdList.COFFEYGUIDE("reset") print("after: current", ns.route[ns.CurrentIndex()].id) fire("BAG_UPDATE_DELAYED") print("upgrade 2H:", ns.Gear.Upgrade("item:2001"), "plate head usable:", ns.Gear.Usable("item:2002")) @@ -266,6 +266,6 @@ if tstep and ns.PlanFor(tstep) and #ns.PlanFor(tstep) >= 4 then local plan = ns.PlanFor(tstep); ns.MarkSub(tstep, plan[4], true); show("go marked") print("tirisfal step state:", ns.StepState(tstep)) end -SlashCmdList.FOREVERGUIDE("quests") +SlashCmdList.COFFEYGUIDE("quests") ns.ShowLink(ns.WEBSITE); print("website:", ns.WEBSITE) print("HARNESS_OK") diff --git a/tools/validate_plans.lua b/tools/validate_plans.lua index 571138e..17a00eb 100644 --- a/tools/validate_plans.lua +++ b/tools/validate_plans.lua @@ -30,7 +30,7 @@ function ns.AddQuestPlan(p, steps) end local chunk, e = loadfile(file) if not chunk then print("LOAD ERROR: " .. e); os.exit(1) end -local ok, e2 = pcall(chunk, "ForeverGuide", ns) +local ok, e2 = pcall(chunk, "CoffeyGuide", ns) if not ok then print("RUN ERROR: " .. e2); os.exit(1) end for p, n in pairs(counts) do local q = 0; for _ in pairs(quests[p]) do q = q + 1 end; print(("%-28s %3d steps %3d quests"):format(p, n, q)) end for id in pairs(allowed) do if not counts[id] then print("MISSING plan for " .. id) end end