From ccfb78c3a6db2b15eca5cb5a18344beb515113c5 Mon Sep 17 00:00:00 2001 From: Relationship <139162359+Relationship-OctoWoW@users.noreply.github.com> Date: Sat, 18 Jul 2026 18:50:56 +0100 Subject: [PATCH] Add files via upload --- Core.lua | 20 +++++++++++-- Data.lua | 63 +---------------------------------------- RelationshipsAttune.toc | 2 +- 3 files changed, 19 insertions(+), 66 deletions(-) diff --git a/Core.lua b/Core.lua index 91f4273..499399c 100644 --- a/Core.lua +++ b/Core.lua @@ -6,7 +6,7 @@ RelationshipsAttune = RelationshipsAttune or {} local RA = RelationshipsAttune local L = RelationshipsAttune_L -RA.VERSION = "1.4.2" +RA.VERSION = "1.4.3" RA.COMM_PREFIX = "RATTUNE" RA.playerName = nil @@ -244,10 +244,24 @@ function RA:BuildNameIndex() for j = 1, table.getn(att.steps) do local s = att.steps[j] if s and s.name and s.id then + local nlow = string.lower(s.name) if s.type == "item" then - map[string.lower(s.name)] = s.id + map[nlow] = s.id elseif s.type == "quest" then - qmap[string.lower(s.name)] = s.id + qmap[nlow] = s.id + -- Data.lua disambiguates faction-specific quests + -- with a "(Alliance)" / "(Horde)" suffix that + -- the in-game quest log does NOT include. Index + -- the stripped variant so the name fallback in + -- ScanQuestLog matches on stock 1.12 clients + -- that don't return a questId. + local _, _, stripped = string.find(nlow, "^(.-)%s*%(alliance%)%s*$") + if not stripped then + _, _, stripped = string.find(nlow, "^(.-)%s*%(horde%)%s*$") + end + if stripped and stripped ~= "" and not qmap[stripped] then + qmap[stripped] = s.id + end end end end diff --git a/Data.lua b/Data.lua index 6b69464..78f01b2 100644 --- a/Data.lua +++ b/Data.lua @@ -537,17 +537,6 @@ RelationshipsAttune_Data = { start = "Discs of Norgannon, Chamber of Khaz'mul, Uldaman, Badlands (42, 20)." }, }, }, - { - id = "hydraxian", name = "Hydraxian Waterlords (MC Runes)", category = "Keys & Access", faction = "Both", - icon = "Interface\\Icons\\Spell_Frost_SummonWaterElemental", - steps = { - { type = "level", level = 60, name = "Reach Level 60", icon = ICON_LEVEL }, - { type = "rep", faction = "Hydraxian Waterlords", standing = 5, - name = "Honored with the Hydraxian Waterlords", icon = ICON_REP, - desc = "Needed to purchase Aqual Quintessence to douse the Molten Core runes for Majordomo.", - start = "Duke Hydraxis, small island off south-east Azshara (79, 76). Turn in water elemental drops (Azshara/Silithus) and MC boss items." }, - }, - }, ---------------------------------------------------------------- -- TURTLE / OCTO WOW CUSTOM CONTENT -- Placeholder ids where the live client id isn't confirmed; the @@ -579,56 +568,6 @@ RelationshipsAttune_Data = { start = "Awarded from Archmage Alturus (Morgan's Plot, Deadwind Pass 40, 75) at the end of the LKH attunement." }, }, }, - { - id = "es", name = "Emerald Sanctum", category = "Turtle", faction = "Both", - icon = "Interface\\Icons\\INV_Misc_Head_Dragon_Green", - steps = { - { type = "level", level = 60, name = "Reach Level 60", icon = ICON_LEVEL }, - { type = "quest", id = 40020, name = "Emerald Sanctum attunement", icon = ICON_QUEST, final = true, - desc = "Emerald Sanctum attunement chain (Hinterlands portal). Speak with Keeper Remulos and collect the Sanctum Sigil from the four green dragons around Azeroth (Ysondre, Emeriss, Lethon, Taerar).", - start = "Keeper Remulos avatar, eastern Hinterlands near Seradane (55, 22)." }, - }, - }, - { - id = "cgrove", name = "Crescent Grove (Turtle 20-man)", category = "Turtle", faction = "Both", - icon = "Interface\\Icons\\INV_Misc_Herb_02", - steps = { - { type = "level", level = 55, name = "Reach Level 55", icon = ICON_LEVEL }, - { type = "quest", id = 40100, name = "Crescent Grove attunement", icon = ICON_QUEST, final = true, - desc = "Turtle-WoW 20-man Emerald-themed raid in Ashenvale. Speak to the druid representative at the grove entrance to start the chain (collect corrupted samples inside the outer ring).", - start = "Ashenvale, near the Crescent Grove portal south of Warsong Lumber Camp (~40, 63)." }, - }, - }, - { - id = "gilneas", name = "Gilneas City", category = "Turtle", faction = "Both", - icon = "Interface\\Icons\\Ability_Mount_WhiteDireWolf", - steps = { - { type = "level", level = 55, name = "Reach Level 55", icon = ICON_LEVEL }, - { type = "quest", id = 40030, name = "Gilneas City attunement", icon = ICON_QUEST, final = true, - desc = "Attunement for the Gilneas City dungeon. Speak with Lord Darius Crowley at the Greymane Wall and complete the intro quest chain in Silverpine.", - start = "Lord Darius Crowley, Greymane Wall entrance, southern Silverpine Forest (43, 66)." }, - }, - }, - { - id = "hateforge", name = "Hateforge Quarry", category = "Turtle", faction = "Both", - icon = "Interface\\Icons\\INV_Hammer_16", - steps = { - { type = "level", level = 55, name = "Reach Level 55", icon = ICON_LEVEL }, - { type = "quest", id = 40040, name = "Hateforge Quarry attunement", icon = ICON_QUEST, final = true, - desc = "Attunement for the Hateforge Quarry dungeon. Turtle Dark Iron chain out of Burning Steppes.", - start = "Overseer Maltorius, Flame Crest camp, northern Burning Steppes (62, 24)." }, - }, - }, - { - id = "stormwind_vault", name = "Stormwind Vault", category = "Turtle", faction = "Both", - icon = "Interface\\Icons\\INV_Misc_Coin_01", - steps = { - { type = "level", level = 55, name = "Reach Level 55", icon = ICON_LEVEL }, - { type = "quest", id = 40050, name = "Stormwind Vault attunement", icon = ICON_QUEST, final = true, - desc = "Attunement for the Stormwind Vault dungeon (Turtle). Alliance intro from the Stockade warden; Horde variant from a SI:7 defector in Booty Bay.", - start = "Warden Thelwater, Stormwind Stockade entrance, Mage Quarter, Stormwind City (50, 68). Horde variant: Booty Bay, Stranglethorn (27, 77)." }, - }, - }, ---------------------------------------------------------------- -- DRAGONMAW RETREAT (Turtle/Octo custom, Wetlands, patch 1.18) ---------------------------------------------------------------- @@ -666,4 +605,4 @@ RelationshipsAttune_Data = { start = "Looted from Dragonmaw guards in the Dragonmaw Reserve outpost, Wetlands (~70, 40)." }, }, }, -} \ No newline at end of file +} diff --git a/RelationshipsAttune.toc b/RelationshipsAttune.toc index 9cdccc1..9c709ac 100644 --- a/RelationshipsAttune.toc +++ b/RelationshipsAttune.toc @@ -2,7 +2,7 @@ ## Title: Relationships Attune ## Notes: Track Vanilla and Turtle/Octo WoW attunement progress ## Author: Relationship -## Version: 1.7 +## Version: 1.8 ## X-Category: Quest ## SavedVariables: RelationshipsAttuneDB ## SavedVariablesPerCharacter: RelationshipsAttuneCharDB