- Hillsbrad Foothills 30-32 between Wetlands and Arathi Highlands: the Arathi chain Hints of a New Plague? starts there - Stormwind City short stop at 44, before the Hinterlands: To The Hinterlands starts there - Ironforge short stop at 52, before Western Plaguelands (Burning Steppes 49-52, Western Plaguelands 52-57): A Call to Arms: The Plaguelands! starts the cauldron chain - a second or third visit of a zone is marked again by the ladder file itself
169 lines
8.1 KiB
JavaScript
169 lines
8.1 KiB
JavaScript
// The hand-kept zone ladder for the route builder (tools/build-route.js): which zones a starting race walks through,
|
|
// in which order, and from which level to which. This is the one file the owner's corrections touch; the tool never
|
|
// invents the order, it only fills each visit with the zone's quests and works out the levels.
|
|
//
|
|
// Per race:
|
|
// key the game's race name (the second value of UnitRace): Human, Dwarf, Gnome, NightElf, Orc, Troll, Tauren, Scourge
|
|
// name plain name for the outline file outline file name
|
|
// faction Alliance or Horde bit race mask bit: Human 1, Orc 2, Dwarf 4, NightElf 8, Scourge 16, Tauren 32, Gnome 64, Troll 128
|
|
// start zone, x, y: the first place of RestedXP's 1-6 guide for the race (the first quest giver is nearest to it)
|
|
// rows the visits in order
|
|
// Per row:
|
|
// zone exact key of Data/ZoneSizes.lua lo, hi level in, level out
|
|
// stop true: a capital short stop (lo equals hi, only quests that start in the city)
|
|
// again true: a named second visit of a zone (a capital stop at a second or third zone change); set below for every row whose
|
|
// zone is already in the race's rows above it, so a row never has to say it itself
|
|
// exclude boxes { x1, y1, x2, y2, why } in map percent; a quest whose giver stands inside is left out, with that reason
|
|
// entry { x, y } where you come in when the zone before is on the other continent
|
|
|
|
const CAPITALS = ["Stormwind City", "Ironforge", "Darnassus", "Orgrimmar", "Thunder Bluff", "Undercity"];
|
|
|
|
// Where every Alliance race goes after Duskwood (all on the Eastern Kingdoms). Duskwood runs to 28 and Wetlands starts there;
|
|
// Arathi Highlands is thin in the data and ends at 35, Stranglethorn Vale starts there. Each boundary sits two levels from the
|
|
// plain 26 / 31 / 37 split, which left Human, Dwarf and Gnome with more than 30 levels of grinding.
|
|
// Plan 02-06 (every zone from 20 to 60 read by eye) changed three things, each no more than two levels from where 02-05 left it:
|
|
// - Hillsbrad Foothills, Wetlands 28-30 | Hillsbrad 30-32 | Arathi 32-35: RestedXP's Arathi chain "Hints of a New Plague?" starts
|
|
// at Phin Odelic in Southshore and goes on at Quae in Arathi, so without Hillsbrad five of Arathi's nine RestedXP quests cannot
|
|
// be done (3 kept); with it Arathi keeps 7. "MacKreel's Moonshine" (Wetlands, hand-in Southshore) comes with it.
|
|
// - Stormwind City, short stop at 44: from Stranglethorn Vale the Rebel Camp flight goes to Stormwind, then the tram to Ironforge
|
|
// and the flight to Aerie Peak. The Hinterlands chain "In Search of The Temple", "To The Hinterlands", "Gryphon Master
|
|
// Talonaxe", "Rhapsody Shindigger" starts at Brohann Caskbelly in Stormwind and is handed in at Aerie Peak.
|
|
// - Ironforge, short stop at 52 (Burning Steppes 49-52, Western Plaguelands 52-57): the flights from Morgan's Vigil go through
|
|
// Ironforge, where "A Call to Arms: The Plaguelands!" (level 50) is given. It is handed in at Chillwind Camp and starts the
|
|
// Scourge cauldron chain (Clear the Way, The Scourge Cauldrons, ...); it needs the stop to sit at 52 or lower.
|
|
const ALLIANCE_TAIL = [
|
|
{ zone: "Wetlands", lo: 28, hi: 30 },
|
|
{ zone: "Hillsbrad Foothills", lo: 30, hi: 32 },
|
|
{ zone: "Arathi Highlands", lo: 32, hi: 35 },
|
|
{ zone: "Stranglethorn Vale", lo: 35, hi: 44 },
|
|
{ zone: "Stormwind City", lo: 44, hi: 44, stop: true },
|
|
{ zone: "The Hinterlands", lo: 44, hi: 49 },
|
|
{ zone: "Burning Steppes", lo: 49, hi: 52 },
|
|
{ zone: "Ironforge", lo: 52, hi: 52, stop: true },
|
|
{ zone: "Western Plaguelands", lo: 52, hi: 57 },
|
|
{ zone: "Eastern Plaguelands", lo: 57, hi: 60 },
|
|
];
|
|
|
|
// Where every Horde race goes after the Barrens (all on Kalimdor).
|
|
const HORDE_TAIL = [
|
|
{ zone: "Stonetalon Mountains", lo: 24, hi: 27 },
|
|
{ zone: "Ashenvale", lo: 27, hi: 30 },
|
|
{ zone: "Thousand Needles", lo: 30, hi: 33 },
|
|
{ zone: "Desolace", lo: 33, hi: 37 },
|
|
{ zone: "Dustwallow Marsh", lo: 37, hi: 41 },
|
|
{ zone: "Tanaris", lo: 41, hi: 48 },
|
|
{ zone: "Azshara", lo: 48, hi: 51 },
|
|
{ zone: "Un'Goro Crater", lo: 51, hi: 54 },
|
|
{ zone: "Felwood", lo: 54, hi: 57 },
|
|
{ zone: "Silithus", lo: 57, hi: 60 },
|
|
];
|
|
|
|
// Rows shared by two races are written once; the builder never changes a row.
|
|
const DWARF_ROWS = [
|
|
{ zone: "Dun Morogh", lo: 1, hi: 10 },
|
|
{ zone: "Ironforge", lo: 10, hi: 10, stop: true },
|
|
{ zone: "Loch Modan", lo: 10, hi: 14 },
|
|
{ zone: "Westfall", lo: 14, hi: 18 },
|
|
{ zone: "Redridge Mountains", lo: 18, hi: 22 },
|
|
{ zone: "Duskwood", lo: 22, hi: 28 },
|
|
...ALLIANCE_TAIL,
|
|
];
|
|
const ORC_ROWS = [
|
|
{ zone: "Durotar", lo: 1, hi: 10, exclude: [{ x1: 85, y1: 0, x2: 100, y2: 100, why: "in Bilgewater, a Turtle goblin start" }] },
|
|
{ zone: "Orgrimmar", lo: 10, hi: 10, stop: true },
|
|
{ zone: "The Barrens", lo: 10, hi: 24 },
|
|
...HORDE_TAIL,
|
|
];
|
|
|
|
// The order of RACES is the order of the paths in Data/Route.lua and of the visit numbers.
|
|
const RACES = [
|
|
{
|
|
key: "Human", name: "Human", file: "Human", faction: "Alliance", bit: 1,
|
|
start: { zone: "Elwynn Forest", x: 50.05, y: 42.69 },
|
|
rows: [
|
|
{ zone: "Elwynn Forest", lo: 1, hi: 10 },
|
|
{ zone: "Stormwind City", lo: 10, hi: 10, stop: true },
|
|
{ zone: "Westfall", lo: 10, hi: 15 },
|
|
{ zone: "Redridge Mountains", lo: 15, hi: 20 },
|
|
{ zone: "Duskwood", lo: 20, hi: 28 },
|
|
// A second Stormwind stop at 28: the way from Duskwood to the Wetlands goes through Stormwind (then the tram to Ironforge and
|
|
// Loch Modan), and the guides give the Missing Diplomat, Legend of Stalvan and Doomed Fleet quests there at 28 and 29.
|
|
{ zone: "Stormwind City", lo: 28, hi: 28, stop: true, again: true },
|
|
...ALLIANCE_TAIL,
|
|
],
|
|
},
|
|
{
|
|
key: "Dwarf", name: "Dwarf", file: "Dwarf", faction: "Alliance", bit: 4,
|
|
start: { zone: "Dun Morogh", x: 29.93, y: 71.2 },
|
|
rows: DWARF_ROWS,
|
|
},
|
|
{
|
|
key: "Gnome", name: "Gnome", file: "Gnome", faction: "Alliance", bit: 64,
|
|
start: { zone: "Dun Morogh", x: 29.93, y: 71.2 },
|
|
rows: DWARF_ROWS,
|
|
},
|
|
{
|
|
key: "NightElf", name: "Night Elf", file: "NightElf", faction: "Alliance", bit: 8,
|
|
start: { zone: "Teldrassil", x: 58.7, y: 44.27 },
|
|
rows: [
|
|
{ zone: "Teldrassil", lo: 1, hi: 10 },
|
|
{ zone: "Darnassus", lo: 10, hi: 10, stop: true },
|
|
{ zone: "Darkshore", lo: 10, hi: 20 },
|
|
{ zone: "Ashenvale", lo: 20, hi: 28 },
|
|
{ zone: "Stonetalon Mountains", lo: 28, hi: 31 },
|
|
{ zone: "Desolace", lo: 31, hi: 37 },
|
|
{ zone: "Dustwallow Marsh", lo: 37, hi: 41 },
|
|
{ zone: "Feralas", lo: 41, hi: 47 },
|
|
{ zone: "Tanaris", lo: 47, hi: 51 },
|
|
{ zone: "Azshara", lo: 51, hi: 54 },
|
|
{ zone: "Felwood", lo: 54, hi: 57 },
|
|
{ zone: "Winterspring", lo: 57, hi: 60 },
|
|
],
|
|
},
|
|
{
|
|
key: "Orc", name: "Orc", file: "Orc", faction: "Horde", bit: 2,
|
|
start: { zone: "Durotar", x: 43.29, y: 68.53 },
|
|
rows: ORC_ROWS,
|
|
},
|
|
{
|
|
key: "Troll", name: "Troll", file: "Troll", faction: "Horde", bit: 128,
|
|
start: { zone: "Durotar", x: 43.29, y: 68.53 },
|
|
rows: ORC_ROWS,
|
|
},
|
|
{
|
|
key: "Tauren", name: "Tauren", file: "Tauren", faction: "Horde", bit: 32,
|
|
start: { zone: "Mulgore", x: 44.92, y: 77.12 },
|
|
rows: [
|
|
{ zone: "Mulgore", lo: 1, hi: 10 },
|
|
{ zone: "Thunder Bluff", lo: 10, hi: 10, stop: true },
|
|
{ zone: "The Barrens", lo: 10, hi: 24 },
|
|
...HORDE_TAIL,
|
|
],
|
|
},
|
|
{
|
|
key: "Scourge", name: "Undead", file: "Undead", faction: "Horde", bit: 16,
|
|
start: { zone: "Tirisfal Glades", x: 30.04, y: 72.78 },
|
|
rows: [
|
|
{ zone: "Tirisfal Glades", lo: 1, hi: 10 },
|
|
{ zone: "Silverpine Forest", lo: 10, hi: 15 },
|
|
{ zone: "Undercity", lo: 15, hi: 15, stop: true },
|
|
{ zone: "The Barrens", lo: 15, hi: 24, entry: { x: 52, y: 30 } },
|
|
...HORDE_TAIL,
|
|
],
|
|
},
|
|
];
|
|
|
|
// Rows are shared between races, so each race gets its own copies, with again set where the zone was visited before.
|
|
for (const race of RACES) {
|
|
const seen = new Set();
|
|
race.rows = race.rows.map((row) => {
|
|
const copy = Object.assign({}, row);
|
|
delete copy.again;
|
|
if (seen.has(row.zone)) copy.again = true;
|
|
seen.add(row.zone);
|
|
return copy;
|
|
});
|
|
}
|
|
|
|
module.exports = { CAPITALS, ALLIANCE_TAIL, HORDE_TAIL, RACES };
|