1 QuestHelper_File
["director_achievement.lua"] = "Development Version"
2 QuestHelper_Loadtime
["director_achievement.lua"] = GetTime()
4 local debug_output
= false
5 if QuestHelper_File
["director_achievement.lua"] == "Development Version" then debug_output
= true end
9 if added
then QuestHelper
:TextOut("Objectives are already added! If they haven't shown up yet, just be patient, it may take some time. If they have, and you've ignored some, you'll have to logout and logon to reset them. Sorry! It's kind of a work in progress.") return end
12 QuestHelper
:TextOut("Adding bonfire objectives! This may take several minutes - please be patient. Bonfire objectives will not go away automatically when you finish the quest, you'll have to ignore them manually, and it has no idea which bonfires you've already done. It also may take some time for it to generate a good path, or to respond to ignore requests. This is a very early beta feature and is in no way a finished, polished product :) Enjoy the Fire Festival!")
16 {39,50,44,"Alliance"},
18 {33,58,17,"Alliance"},
20 {40,80,62,"Alliance"},
21 {25,64,25,"Alliance"},
22 {28,46,46,"Alliance"},
23 {31,74,51,"Alliance"},
24 {37,43,65,"Alliance"},
25 {36,49,72,"Alliance"},
29 {48,50,46,"Alliance"},
31 {29,32,40,"Alliance"},
32 {30,24,59,"Alliance"},
34 {38,33,73,"Alliance"},
37 {42,14,50,"Alliance"},
41 {50,43,82,"Alliance"},
42 {49,56,54,"Alliance"},
43 {51,13,47,"Alliance"},
46 {12,41,26,"Alliance"},
49 {16,37,46,"Alliance"},
54 {10,62,40,"Alliance"},
56 {17,28,44,"Alliance"},
65 {24,55,91,"Alliance"},
66 {24,55,60,"Alliance"},
69 {19,62,35,"Alliance"},
71 {54,42,66,"Alliance"},
73 {56,62,58,"Alliance"},
75 {58,50,70,"Alliance"},
77 {59,31,63,"Alliance"},
79 {53,40,55,"Alliance"},
81 {55,55,55,"Alliance"},
83 {57,69,52,"Alliance"},
85 {72,47,66,"Alliance"},
87 {65,55,20,"Alliance"},
89 {68,75,44,"Alliance"},
91 {70,58,16,"Alliance"},
93 {69,34,61,"Alliance"},
95 {75,41,61,"Alliance"},
97 {73,42,87,"Alliance"},
99 {66,78,75,"Alliance"},
103 local msfires
= {desc
= "Midsummer Fires", tracker_desc
= "Midsummer Fires", tracker_split
= true}
105 for _
, v
in ipairs(fonbires
) do
106 local ec
, ez
= unpack(QuestHelper_ZoneLookup
[v
[1]]
)
107 local c
, x
, y
= QuestHelper
.Astrolabe
:GetAbsoluteContinentPosition(ec
, ez
, v
[2] / 100, v
[3] / 100)
108 --print(v[1], v[2], v[3], v[4], ec, ez, c, x, y, QuestHelper_ParentLookup[v[1]])
109 local desc
= string.format("%s %s bonfire", v
[4], QuestHelper_NameLookup
[v
[1]]
)
110 local node
= {loc
= {x
= x
, y
= y
, p
= v
[1], c
= QuestHelper_ParentLookup
[v
[1]]
}, why
= msfires
, map_desc
= {desc
}, tracker_desc
= desc
}
111 local cluster
= {node
}
112 node
.cluster
= cluster
114 QH_Route_ClusterAdd(cluster
)
123 local function QH_AddChunk(targs
)
125 if added
[targs
] then QuestHelper
:TextOut("Objectives are already added! If they haven't shown up yet, just be patient, it may take some time. If they have, and you've ignored some, you'll have to logout and logon to reset them. Sorry! It's kind of a work in progress.") return end
128 if not blarg
then QuestHelper
:TextOut("Adding bucket objectives! This may take several minutes - please be patient. Bucket objectives will not go away automatically when you finish the quest, you'll have to ignore them manually, and it has no idea which bonfires you've already done. It also may take some time for it to generate a good path, or to respond to ignore requests. This is a very early beta feature and is in no way a finished, polished product :) Enjoy Hallow's End!") blarg
= true end
130 local msfires
= {desc
= targs
.name
, tracker_desc
= targs
.name
, tracker_split
= true}
132 for _
, v
in ipairs(targs
) do
133 local cont
, zone
= v
[4]:match("(.*), (.*)")
135 if not QuestHelper_IndexLookup
[cont
] then
136 --print("nindex", cont)
137 if not v
[1] then fail
= true v
[1] = 42 end
139 v
[1] = QuestHelper_IndexLookup
[cont
]
142 local ec
, ez
= unpack(QuestHelper_ZoneLookup
[v
[1]]
)
143 local c
, x
, y
= QuestHelper
.Astrolabe
:GetAbsoluteContinentPosition(ec
, ez
, v
[2] / 100, v
[3] / 100)
144 local node
= {loc
= {x
= x
, y
= y
, p
= v
[1], c
= QuestHelper_ParentLookup
[v
[1]]
}, why
= msfires
, map_desc
= {v
[4]}, tracker_desc
= v
[4]}
145 local cluster
= {node
}
146 node
.cluster
= cluster
148 QH_Route_ClusterAdd(cluster
)
156 if QuestHelper
:PlayerFaction() == 1 then
159 {nil, 67, 16, "Darnassus, Craftsmen’s Terrace"},
160 {nil, 56, 60, "Teldrassil, Dolanaar"},
161 {nil, 56, 60, "Bloodmyst Isle, Blood Watch"},
162 {12, 60, 19, "Exodar, Seat of the Naaru"},
163 {nil, 48, 49, "Azuremyst Isle, Azure Watch"},
164 {nil, 37, 44, "Darkshore, Auberdine"},
165 {nil, 61, 39, "Winterspring, Everlook"},
166 {nil, 37, 49, "Ashenvale, Astranaar"},
167 {nil, 35, 7, "Stonetalon Mountains, Stonetalon Peak"},
168 {nil, 66, 7, "Desolace, Nijel's Point"},
169 {11, 62, 39, "Barrens, Ratchet"},
170 {nil, 67, 45, "Dustwallow Marsh, Theramore Isle"},
171 {nil, 42, 74, "Dustwallow Marsh, Mudsprocket"},
172 {nil, 52, 28, "Tanaris, Gadgetzan"},
173 {nil, 52, 39, "Silithus, Cenarion Hold"},
174 {nil, 31, 43, "Feralas, Feathermoon Stronghold"},
175 name
= "Kalimdor candy buckets",
178 {nil, 75.9, 52.3, "Eastern Plaguelands, Light's Hope"},
179 {42, 14.1, 41.6, "Hinterlands, Aerie Peak"},
180 {nil, 51.1, 58.9, "Hillsbrad Foothills, Southshore"},
181 {nil, 10.8, 60.9, "Wetlands, Menethil Harbor"},
182 {nil, 18.7, 51.5, "Ironforge, The Commons"},
183 {nil, 47.4, 52.4, "Dun Morogh, Kharanos"},
184 {nil, 35.5, 48.5, "Loch Modan, Thelsamar"},
185 {36, 60.5, 75.2, "Stormwind, Trade District"},
186 {nil, 43.7, 66, "Elwynn Forest, Goldshire"},
187 {nil, 27, 45, "Redridge Mountains, Lakeshire"},
188 {nil, 73.9, 44.5, "Duskwood, Darkshire"},
189 {nil, 52.9, 53.6, "Westfall, Sentinel Hill"},
190 {38, 27.1, 77.3, "Stranglethorn, Booty Bay"},
191 name
= "Eastern Kingdoms candy buckets",
194 {nil, 43.4, 36.1, "Netherstorm, The Stormspire"},
195 {nil, 32.1, 64.5, "Netherstorm, Area 52"},
196 {nil, 62.9, 38.3, "Blade's Edge Mountains, Evergrove"},
197 {nil, 61, 68.1, "Blade's Edge Mountains, Toshley's Station"},
198 {nil, 38.5, 63.8, "Blade's Edge Mountains, Sylvanaar"},
199 {nil, 41.9, 26.2, "Zangarmarsh, Orebor Harborage"},
200 {nil, 67.2, 49, "Zangarmarsh, Telredor"},
201 {nil, 78.5, 62.9, "Zangarmarsh, Cenarion Refuge"},
202 {nil, 23.4, 36.5, "Hellfire Peninsula, Temple of Telhamat"},
203 {nil, 54.3, 63.6, "Hellfire Peninsula, Honor Hold"},
204 {53, 61, 28.2, "(Aldor only) Shadowmoon Valley, Altar of Sha'tar"},
205 {53, 56.3, 59.8, "(Scryers only) Shadowmoon Valley, Sanctum of the Stars"},
206 {nil, 37.1, 58.2, "Shadowmoon Valley, Wildhammer Stronghold"},
207 {nil, 56.6, 53.2, "Terokkar Forest, Allerian Stronghold"},
208 {60, 56.2, 81.8, "(Scryers only) Shattrath City, Scryers Tier"},
209 {60, 28.1, 49, "(Aldor only) Shattrath City, Aldor Rise"},
210 {nil, 54.2, 75.8, "Nagrand, Telaar"},
211 name
= "Outland candy buckets",
217 {nil, 61, 39, "Winterspring, Everlook"},
218 {nil, 74, 60, "Ashenvale, Splintertree Post"},
219 {nil, 54, 69, "Orgrimmar, Valley of Strength"},
220 {nil, 51, 41, "Durotar, Razor Hill"},
221 {nil, 62, 39, "The Barrens, Ratchet"},
222 {nil, 52, 30, "The Barrens, The Crosswoods"},
223 {nil, 47, 62, "Stonetalon Mountains, Sun Rock Retreat"},
224 {nil, 24, 68, "Desolace, Shadowprey Village"},
225 {nil, 45, 64, "Thunder Bluff, Lower Rise"},
226 {nil, 47, 61, "Mulgore, Bloodhoof Village"},
227 {nil, 74, 61, "The Barrens, Camp Taurajo"},
228 {nil, 36, 32, "Dustwallow Marsh, Brackenwall Village"},
229 {nil, 75, 45, "Feralas, Camp Mojache"},
230 {nil, 41, 74, "Dustwallow Marsh, Mudsprocket"},
231 {nil, 46, 51, "Thousand Needles, Freewind Post"},
232 {nil, 52, 28, "Tanaris, Gadgetzan"},
233 {nil, 51, 39, "Silithus, Cenarion Hold"},
234 name
= "Kalimdor candy buckets",
237 {nil, 48.1, 47.8, "Eversong Woods, Falconwing Square"},
238 {nil, 79.6, 57.8, "Silvermoon City, Royal Exchange"},
239 {nil, 67.7, 73.2, "Silvermoon City, The Bazaar"},
240 {nil, 43.7, 71.1, "Eversong Woods, Fairbreeze Village"},
241 {nil, 48.6, 32, "Ghostlands, Tranquillien"},
242 {34, 75.9, 52.3, "East Plaguelands, Light's Hope"},
243 {nil, 61.8, 52.2, "Tirisfal Glades, Brill"},
244 {nil, 68, 37.3, "Undercity, Trade Quarter"},
245 {nil, 43.2, 41.4, "Silverpine Forest, Sepulcher"},
246 {nil, 62.8, 19, "Hillsbrad Foothills, Tarren Mill"},
247 {24, 78.2, 81.5, "Hinterlands, Revantusk Village"},
248 {nil, 73.9, 32.6, "Arathi Highlands, Hammerfall"},
249 {nil, 2.9, 36, "Badlands, Kargath"},
250 {nil, 45.1, 56.5, "Swamp of Sorrows, Stonard"},
251 {38, 35.1, 29.7, "Stranglethorn, Grom'gol"},
252 {38, 27.1, 77.3, "Stranglethorn, Booty Bay"},
253 name
= "Eastern Kingdoms candy buckets",
256 {nil, 43.4, 36.1, "Netherstorm, The Stormspire"},
257 {nil, 32.1, 64.5, "Netherstorm, Area 52"},
258 {nil, 76.2, 60.4, "Blade's Edge Mountains, Mok'Nathal Village"},
259 {nil, 62.9, 38.3, "Blade's Edge Mountains, Evergrove"},
260 {nil, 53.4, 55.5, "Blade's Edge Mountains, Thunderlord Stronghold"},
261 {nil, 30.7, 50.9, "Zangarmarsh, Zabra'jin"},
262 {nil, 56.7, 34.6, "Nagrand, Garadar"},
263 {nil, 78.5, 62.9, "Zangarmarsh, Cenarion Refuge"},
264 {nil, 56.8, 37.5, "Hellfire Peninsula, Thrallmar"},
265 {nil, 26.9, 59.6, "Hellfire Peninsula, Falcon Watch"},
266 {60, 28.1, 49, "(Aldor only) Shattrath City, Aldor Rise"},
267 {60, 56.2, 81.8, "(Scryer only) Shattrath City, Scryers Tier"},
268 {nil, 48.8, 45.2, "Terokkar Forest, Stonebreaker Hold"},
269 {nil, 30.3, 27.8, "Shadowmoon Valley, Shadowmoon Village"},
270 {53, 61, 28.2, "(Aldor only) Shadowmoon Valley, Altar of Sha'tar"},
271 {53, 56.3, 59.8, "(Scryer only) Shadowmoon Valley, Sanctum of the Stars"},
272 name
= "Outland candy buckets",
277 function QH_AddBuckets(typ
)
279 if typ
and fb
[typ
] then
282 QH_AddChunk(fb
.kalimdor
)
284 QH_AddChunk(fb
.outland
)