/trunk/TitanRecZone/Libs/LibTourist-3.0
## Notes: A library to provide information about zones and instances. |
## Author: ckknight, Arrowmaster, Odica |
## X-Category: Library |
## X-Curse-Packaged-Version: WoW-6.0-release1 |
## X-Curse-Packaged-Version: r181 |
## X-Curse-Project-Name: LibTourist-3.0 |
## X-Curse-Project-ID: libtourist-3-0 |
## X-Curse-Repository-ID: wow/libtourist-3-0/mainline |
--[[ |
Name: LibTourist-3.0 |
Revision: $Rev: 178 $ |
Revision: $Rev: 181 $ |
Author(s): ckknight (ckknight@gmail.com), Arrowmaster, Odica (maintainer) |
Website: http://ckknight.wowinterface.com/ |
Documentation: http://www.wowace.com/addons/libtourist-3-0/ |
]] |
local MAJOR_VERSION = "LibTourist-3.0" |
local MINOR_VERSION = 90000 + tonumber(("$Revision: 178 $"):match("(%d+)")) |
local MINOR_VERSION = 90000 + tonumber(("$Revision: 181 $"):match("(%d+)")) |
if not LibStub then error(MAJOR_VERSION .. " requires LibStub") end |
if zoneName == BZ["Shadowmoon Valley"] or zoneName == "Shadowmoon Valley" then |
zoneName = BZ["Shadowmoon Valley"].." ("..BZ["Draenor"]..")" |
end |
if zoneName == BZ["Hellfire Citadel"] or zoneName == "Hellfire Citadel" then |
zoneName = BZ["Hellfire Citadel"].." ("..BZ["Draenor"]..")" |
end |
end |
return zoneName |
end |
if zoneName == BZ["Shadowmoon Valley"] or zoneName == "Shadowmoon Valley" then |
zoneName = "Shadowmoon Valley (Draenor)" |
end |
if zoneName == BZ["Hellfire Citadel"] or zoneName == "Hellfire Citadel" then |
zoneName = "Hellfire Citadel (Draenor)" |
end |
end |
return zoneName |
end |
BZ[Tourist:GetUniqueEnglishZoneNameForLookup("Shadowmoon Valley", 7)] = Tourist:GetUniqueZoneNameForLookup("Shadowmoon Valley", 7) |
BZR[Tourist:GetUniqueZoneNameForLookup("Shadowmoon Valley", 7)] = Tourist:GetUniqueEnglishZoneNameForLookup("Shadowmoon Valley", 7) |
BZ[Tourist:GetUniqueEnglishZoneNameForLookup("Hellfire Citadel", 7)] = Tourist:GetUniqueZoneNameForLookup("Hellfire Citadel", 7) |
BZR[Tourist:GetUniqueZoneNameForLookup("Hellfire Citadel", 7)] = Tourist:GetUniqueEnglishZoneNameForLookup("Hellfire Citadel", 7) |
end |
low = 100, |
high = 100, |
continent = Draenor, |
-- instances = { |
-- [BZ["Iron Citadel"]] = true, |
-- }, |
instances = { |
[BZ["Hellfire Citadel"].." ("..BZ["Draenor"]..")"] = true, |
}, |
paths = { |
[BZ["Talador"]] = true, |
[BZ["Shadowmoon Valley"].." ("..BZ["Draenor"]..")"] = true, |
high = 100, |
continent = Draenor, |
type = "PvP Zone", |
-- instances = { |
-- [BZ["Iron Citadel"]] = true, |
-- }, |
paths = { |
[BZ["Warspear"]] = true, |
[BZ["Stormshield"]] = true, |
paths = BZ["Forstfire Ridge"], |
groupSize = 5, |
type = "Instance", |
-- entrancePortal = { BZ["Forstfire Ridge"], 0.00, 0.00 }, TODO |
entrancePortal = { BZ["Forstfire Ridge"], 50.0, 24.8 }, |
} |
zones[BZ["Shadowmoon Burial Grounds"]] = { |
paths = BZ["Gorgrond"], |
groupSize = 5, |
type = "Instance", |
-- entrancePortal = { BZ["Gorgrond"], 0.00, 0.00 }, TODO |
entrancePortal = { BZ["Gorgrond"], 45.2, 13.7 }, |
} |
zones[BZ["Grimrail Depot"]] = { |
paths = BZ["Talador"], |
groupSize = 5, |
type = "Instance", |
-- entrancePortal = { BZ["Talador"], 0.00, 0.00 }, TODO |
entrancePortal = { BZ["Talador"], 43.6, 74.1 }, |
} |
zones[BZ["Skyreach"]] = { |
paths = BZ["Spires of Arak"], |
groupSize = 5, |
type = "Instance", |
-- entrancePortal = { BZ["Spires of Arak"], 0.00, 0.00 }, TODO |
entrancePortal = { BZ["Spires of Arak"], 35.6, 33.5 }, |
} |
zones[BZ["Highmaul"]] = { |
-- entrancePortal = { BZ["Nagrand"].." ("..BZ["Draenor"]..")", 0.00, 0.00 }, TODO |
} |
-- zones[BZ["Iron Citadel"]] = { |
-- low = 100, |
-- high = 100, |
-- continent = Draenor, |
-- paths = BZ["Tanaan Jungle"], |
-- groupSize = 10, |
-- altGroupSize = 25, |
-- type = "Instance", |
zones[BZ["Hellfire Citadel"].." ("..BZ["Draenor"]..")"] = { |
low = 100, |
high = 100, |
continent = Draenor, |
paths = BZ["Tanaan Jungle"], |
groupSize = 10, |
altGroupSize = 25, |
type = "Instance", |
-- entrancePortal = { BZ["Tanaan Jungle"], 0.00, 0.00 }, TODO |
-- } |
} |