-- MetaTracker_FarewellToArms waypoint notes (A Farewell to Arms / BfA meta)
-- Per-pin notes for multi-waypoint criteria in the Do-it-now planner, verified
-- against each achievement's Wowhead comment tables (lv_comments0).
-- Key = achievementID:criteriaIndex:mapID:x:y  (matches Objectives:MakeKey; the
-- note lookup tolerates .x5 rounding, so 1-decimal keys are safe).

LibStub("MetaTracker"):RegisterWaypointNotes({
    -- === Zuldazar (map 862/1165) ===
    -- [12851 Treasures of Zuldazar] crit 6 "Dazar's Forgotten Chest" - one of several spawn spots
    ["12851:6:862:49.6:37.7"] = "Enter the Temple of the Prophet and turn right",
    ["12851:6:862:49.3:38.7"] = "Take the stairs up and follow the road",
    ["12851:6:862:44.0:38.0"] = "Up the Golden Road, near the dungeon entrance",
    ["12851:6:862:41.0:33.2"] = "Behind the waterfall",
    ["12851:6:862:38.8:34.4"] = "Spawn spot (western Zuldazar)",

    -- === Nazmir (map 863) ===
    -- [12771 Treasures of Nazmir] crit 3 "Cursed Nazmani Chest" - cave in Terrace of Sorrows
    ["12771:3:863:42.3:50.6"] = "Cave entrance",
    ["12771:3:863:43.1:50.8"] = "Chest is deeper inside the cave",

    -- === Tiragarde Sound (map 895) ===
    -- [12852 Treasures of Tiragarde Sound] crit 6 "Secret of the Depths" - 5 Damp Scrolls + Ominous Altar
    ["12852:6:895:56.0:91.3"] = "Damp Scroll - inside an underwater cave",
    ["12852:6:895:61.5:77.7"] = "Damp Scroll - in the basement",
    ["12852:6:895:70.3:85.8"] = "Damp Scroll - in the basement (2)",
    ["12852:6:895:67.1:79.8"] = "Damp Scroll - near candles under the wooden platform",
    ["12852:6:895:63.1:81.9"] = "Damp Scroll - on the 2nd floor",
    ["12852:6:895:61.5:83.8"] = "Underwater cave entrance",
    -- crit 7-10: treasure maps - loot map from Freehold pirates, then dig the chest
    ["12852:7:895:74.0:84.2"] = "Loot the Soggy Treasure Map from Freehold pirates",
    ["12852:7:895:55.0:46.1"] = "Dig up the chest (The Whale's Belly)",
    ["12852:8:895:74.0:84.2"] = "Loot the Faded Treasure Map from Freehold pirates",
    ["12852:8:895:29.2:25.3"] = "Dig up the chest (Krakenbane Cove)",
    ["12852:9:895:74.0:84.2"] = "Loot the Yellowed Treasure Map from Freehold pirates",
    ["12852:9:895:90.5:75.5"] = "Dig up the chest (The Wailing Tideway)",
    ["12852:10:895:74.0:84.2"] = "Loot the Singed Treasure Map from Freehold pirates",
    ["12852:10:895:49.0:37.6"] = "Dig up the chest (Fogcliff Strand)",

    -- === Stormsong Valley (map 942) ===
    -- [12853 Treasures of Stormsong Valley] crit 1 "Weathered Treasure Chest" - cave with 3 hidden entrances
    ["12853:1:942:67.0:12.1"] = "Cave entrance (hidden in the rock behind bushes)",
    ["12853:1:942:65.4:11.8"] = "Another hidden entrance to the same cave",

    -- === Zuldazar Adventurer rares (map 862) ===
    -- [12944 Adventurer of Zuldazar]
    ["12944:10:862:68.8:46.8"] = "Cave entrance (from the dinosaur camp side)",
    ["12944:10:862:68.6:48.6"] = "Kandak is inside the cave",
    ["12944:13:862:70.3:33.0"] = "Umbra'jin is in the cave (Burrow of Crimsonclaw)",
    ["12944:13:862:71.2:32.4"] = "Cave entrance",

    -- === Nazmir Adventurer rares (map 863) ===
    -- [12942 Adventurer of Nazmir]
    ["12942:4:863:43.2:90.5"] = "Cave entrance",
    ["12942:4:863:43.1:90.3"] = "Blood Priest Xak'lar is inside the cave",
    ["12942:14:863:25.4:77.7"] = "Waterfall - enter behind it",
    ["12942:14:863:25.0:77.8"] = "Infected Direhorn is in the cave behind the waterfall",
    ["12942:15:863:44.6:54.0"] = "Start here on the road, then turn left",
    ["12942:15:863:45.4:52.0"] = "Jax'teb patrols here",
    ["12942:29:863:38.8:29.1"] = "Necropolis Catacombs entrance",
    ["12942:29:863:38.7:26.7"] = "Za'amar is inside the catacombs",
    ["12942:32:863:57.8:51.0"] = "Start here, follow the road down",
    ["12942:32:863:52.6:54.9"] = "Mala'kili and Rohnkor are down the road",
})
