# HG changeset patch # User only1yzerman # Date 1368233785 14400 # Node ID 91131c35a2c3f0aec2320eded33e0714069e5891 # Parent 6ab5b23877a6fe3e4ada8610c67812f1a7ea4206 Added the ability for Trove of the Thunderking to be tracked while on Isle of Thunder. Config options have not been tested and these nodes will only show up if you haven't looted a trove this week and should disappear as soon as you do loot a trove. diff -r 6ab5b23877a6 -r 91131c35a2c3 Bloodhound2.lua --- a/Bloodhound2.lua Fri May 10 03:45:15 2013 -0400 +++ b/Bloodhound2.lua Fri May 10 20:56:25 2013 -0400 @@ -96,6 +96,7 @@ if (c ~= player.C and c ~= 0) then -- reload continent data if continent has changed Bloodhound2.HerbNodes, Bloodhound2.ContinentHerbs = Bloodhound2.ReloadNodes(Bloodhound2.HerbDatabase[c], Bloodhound2.ZoneDatum[c]); Bloodhound2.OreNodes, Bloodhound2.ContinentOre = Bloodhound2.ReloadNodes(Bloodhound2.OreDatabase[c], Bloodhound2.ZoneDatum[c]); + Bloodhound2.MiscNodes, Bloodhound2.ContinentNode = Bloodhound2.ReloadNodes(Bloodhound2.MiscDatabase[c], Bloodhound2.ZoneDatum[c]); end if (c ~= player.C or z ~= player.Z or x ~= player.X or y ~= player.Y or f ~= player.F or m ~= lastzoom) then @@ -148,6 +149,7 @@ Bloodhound2.HerbNodes = {}; Bloodhound2.OreNodes = {}; +Bloodhound2.MiscNodes = {}; Bloodhound2.ContinentHerbs = {}; Bloodhound2.ContinentOre = {}; @@ -317,9 +319,15 @@ if (name == L["Find Herbs"]) then for k,v in pairs(Settings.HerbFilter) do settingsFilter[k] = v end for k,v in pairs(Bloodhound2.HerbNodes) do tinsert(nodes, v) end + if (IsQuestFlaggedCompleted(32609) ~= 1) then + for k,v in pairs(Bloodhound2.MiscNodes) do tinsert(nodes, v) end + end elseif (name == L["Find Minerals"]) then for k,v in pairs(Settings.OreFilter) do settingsFilter[k] = v end for k,v in pairs(Bloodhound2.OreNodes) do tinsert(nodes, v) end + if (IsQuestFlaggedCompleted(32609) ~= 1) then + for k,v in pairs(Bloodhound2.MiscNodes) do tinsert(nodes, v) end + end end end end diff -r 6ab5b23877a6 -r 91131c35a2c3 Bloodhound2.toc --- a/Bloodhound2.toc Fri May 10 03:45:15 2013 -0400 +++ b/Bloodhound2.toc Fri May 10 20:56:25 2013 -0400 @@ -10,9 +10,14 @@ ## DefaultState: Enabled ## LoadOnDemand: 0 ## SavedVariables: Settings +## X-Curse-Packaged-Version: r0 +## X-Curse-Project-Name: Bloodhound2 +## X-Curse-Project-ID: bloodhound2 +## X-Curse-Repository-ID: wow/bloodhound2/mainline LocalizeDefault.lua Bloodhound2.lua HerbDatabase.lua OreDatabase.lua +MiscDatabase.lua ZoneDatum.lua Config.lua diff -r 6ab5b23877a6 -r 91131c35a2c3 LocalizeDefault.lua --- a/LocalizeDefault.lua Fri May 10 03:45:15 2013 -0400 +++ b/LocalizeDefault.lua Fri May 10 20:56:25 2013 -0400 @@ -144,3 +144,5 @@ L[209328] = "Rich Ghost Iron Deposit"; L[209329] = "Rich Kyparite Deposit"; L[215413] = "Ghost Iron Deposit"; + +L[218593] = "Trove of the Thunder King"; diff -r 6ab5b23877a6 -r 91131c35a2c3 MiscDatabase.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MiscDatabase.lua Fri May 10 20:56:25 2013 -0400 @@ -0,0 +1,23 @@ +-- Don't change anything here Adding coords here without knowing what you are doing will break the addon +-- You've been warned +Bloodhound2.MiscDatabase = +{ + { -- continent 1 + + }, + { -- continent 2 + +}, + { -- continent 3 + + }, + { -- continent 4 + + }, + { -- continent 5 + + }, + { -- continent 6 + Z3N218593 ={ 289808,42797,1969,1,188,3841,1,10871,7161,4947,1,8022,1074,8929,7986,1951,2221,4881,12098,26039,998,2,3042,2733,2113,1,8832,11067,1,3041,7108,1,2000,1532,3036,528,7609,2842,11170,1831,8475,2146,2,844,154,2,8474,3084,2319,2473,6582,2708,2909,1000,6046,3046,1000,12920,7029,18082,14968,28944, }, + }, +}