Last active
December 10, 2015 11:38
-
-
Save cowboy/4428442 to your computer and use it in GitHub Desktop.
WoW: Exploration Achievements in GatherMate2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Exploration Achievements in GatherMate2 - v0.1.1 - 2013-01-04 | |
-- by "Cowboy" Ben Alman | |
-- | |
-- Requires GatherMate2 to be installed | |
-- Run this script ONLY ONCE in something like _DevPad | |
-- Remove the added nodes by re-importing GatherMate2 data. | |
local zones={} | |
zones["The Jade Forest"] = 806 | |
zones["Dread Wastes"] = 858 | |
zones["Krasarang Wilds"] = 857 | |
zones["Kun-Lai Summit"] = 809 | |
zones["Valley of the Four Winds"] = 807 | |
zones["Townlong Steppes"] = 810 | |
zones["The Veiled Stair"] = 873 | |
zones["Vale of Eternal Blossoms"] = 811 | |
local function coord(n) return tonumber(n)/100 end | |
local function AddGatherMateNode(aName, aId, zone, x, y, title) | |
if not zones[zone] then print("ERROR: Zone "..zone.." not found!"); return end | |
GatherMate2:AddNode(zones[zone], coord(x), coord(y), 0, "Treasure", aName) | |
end | |
function AddExplorationAchievementNodes() | |
-- Is Another Man's Treasure | |
-- http://www.wowhead.com/achievement=7284 | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 25.9, 50.3, "Bloodsoaked Chitin Fragment") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 28.8, 41.9, "Blade of the Poisoned Mind") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 30.2, 90.8, "Dissector's Staff of Mutation") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 33.0, 30.1, "Amber Encased Necklace") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 41.6, 64.6, "Glinting Rapana Whelk") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 42.0, 62.2, "Glinting Rapana Whelk") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 42.2, 63.6, "Glinting Rapana Whelk") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 48.7, 30.0, "Malik's Stalwart Spear") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 54.2, 56.4, "Swarmkeeper's Medallion") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 56.8, 77.6, "Swarming Cleaver of Ka'roz") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 66.8, 63.8, "Blade of the Prime") | |
AddGatherMateNode("Another Man's Treasure", nil, "Dread Wastes", 71.8, 36.1, "Wind-Reaver's Dagger of Quick Strikes") | |
AddGatherMateNode("Another Man's Treasure", nil, "Krasarang Wilds", 42.3, 92.0, "Equipment Locker") | |
AddGatherMateNode("Another Man's Treasure", nil, "Krasarang Wilds", 50.8, 49.3, "Pandaren Fishing Spear") | |
AddGatherMateNode("Another Man's Treasure", nil, "Krasarang Wilds", 52.3, 88.7, "Barrel of Banana Infused Rum") | |
AddGatherMateNode("Another Man's Treasure", nil, "Kun-Lai Summit", 44.7, 52.4, "Tablet of Ren Yun") | |
AddGatherMateNode("Another Man's Treasure", nil, "Kun-Lai Summit", 51.5, 74.0, "Hozen Warrior Spear") | |
AddGatherMateNode("Another Man's Treasure", nil, "Kun-Lai Summit", 70.0, 63.8, "Stash of Yaungol Weapons") | |
AddGatherMateNode("Another Man's Treasure", nil, "Kun-Lai Summit", 71.2, 62.6, "Stash of Yaungol Weapons") | |
AddGatherMateNode("Another Man's Treasure", nil, "Kun-Lai Summit", 74.7, 74.9, "Sprite's Cloth Chest") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 39.26, 46.65, "Jade Warrior Statue") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 39.4, 7.3, "Wodin's Mantid Shanker") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 41.8, 17.6, "Hammer of Ten Thunders") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 43.0, 11.6, "Hammer of Ten Thunders") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 43.8, 30.7, "Ancient Pandaren Mining Pick") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 44.1, 27.0, "Ancient Pandaren Mining Pick") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 46.1, 29.1, "Ancient Pandaren Mining Pick") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 44.9, 64.6, "Ancient Jinyu Staff") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 46.2, 71.2, "Ancient Jinyu Staff") | |
AddGatherMateNode("Another Man's Treasure", nil, "The Jade Forest", 47.1, 67.4, "Ancient Jinyu Staff") | |
AddGatherMateNode("Another Man's Treasure", nil, "Townlong Steppes", 66.3, 44.7, "Yaungol Fire Carrier") | |
AddGatherMateNode("Another Man's Treasure", nil, "Townlong Steppes", 66.8, 48.0, "Yaungol Fire Carrier") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 15.0, 33.7, "Staff of the Hidden Master") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 15.4, 29.1, "Staff of the Hidden Master") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 17.5, 35.7, "Staff of the Hidden Master") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 19.0, 42.5, "Staff of the Hidden Master") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 19.1, 37.9, "Staff of the Hidden Master") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 43.5, 37.4, "Cache of Pilfered Goods") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 45.4, 38.2, "Ghostly Pandaren Craftsman") | |
AddGatherMateNode("Another Man's Treasure", nil, "Valley of the Four Winds", 46.8, 24.6, "Ghostly Pandaren Fisherman") | |
-- Lorewalkers | |
-- http://www.wowhead.com/faction=1345/the-lorewalkers#comments | |
AddGatherMateNode("Lorewalkers", nil, "Dread Wastes", 35, 32, "The Empress") | |
AddGatherMateNode("Lorewalkers", nil, "Dread Wastes", 48, 32, "Cycle of the Mantid") | |
AddGatherMateNode("Lorewalkers", nil, "Dread Wastes", 52, 10, "Amber inside Amber Vault Cave") | |
AddGatherMateNode("Lorewalkers", nil, "Dread Wastes", 59, 55, "Mantid Society") | |
AddGatherMateNode("Lorewalkers", nil, "Dread Wastes", 67, 60, "The Deserters") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 30, 38, "Origins") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 32, 29, "Last Stand") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 40, 56, "Emperor’s Burden 4") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 50, 31, "The Lost Dynasty") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 52, 87, "Hozen Maturity") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 72, 30, "Waiting for the Turtle") | |
AddGatherMateNode("Lorewalkers", nil, "Krasarang Wilds", 81, 11, "Quan Tou Kuo the Two Fisted") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 41, 42, "Emperor’s Burden 7") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 43, 51, "Emperor’s Burden 2") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 44, 53, "Ren Yun the Blind") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 45, 61, "The Hozen Ravage") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 50, 79, "Yaungol Tactics", "(58, 71)") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 53, 46, "Valley of Emperors ") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 63, 40, "Victory in Kun-Lai") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 67, 48, "Emperor’s Burden 6") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 71, 62, "Yaungoil") | |
AddGatherMateNode("Lorewalkers", nil, "Kun-Lai Summit", 74, 83, "Role Call") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 26, 28, "Hozen Speech") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 36, 30, "The First Monks") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 37, 30, "Xin Wu Yin the Broken Hearted") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 42, 17, "Spirit Binders") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 47, 45, "Emperor’s Burden 1") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 55, 56, "Emperor’s Burden 3") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 66, 87, "Watersmithing") | |
AddGatherMateNode("Lorewalkers", nil, "The Jade Forest", 67, 29, "The Saurok") | |
AddGatherMateNode("Lorewalkers", nil, "The Veiled Stair", 55, 15, "The Defiant") | |
AddGatherMateNode("Lorewalkers", nil, "Townlong Steppes", 37, 62, "Emperor’s Burden 5") | |
AddGatherMateNode("Lorewalkers", nil, "Townlong Steppes", 65, 49, "Dominance") | |
AddGatherMateNode("Lorewalkers", nil, "Townlong Steppes", 84, 72, "Trapped in a Strange Land") | |
AddGatherMateNode("Lorewalkers", nil, "Vale of Eternal Blossoms", 26, 21, "Together, We Are Strong") | |
AddGatherMateNode("Lorewalkers", nil, "Vale of Eternal Blossoms", 40, 77, "The Thunder King") | |
AddGatherMateNode("Lorewalkers", nil, "Vale of Eternal Blossoms", 52, 68, "Always Remember") | |
AddGatherMateNode("Lorewalkers", nil, "Vale of Eternal Blossoms", 68, 44, "Emperor’s Burden 8") | |
AddGatherMateNode("Lorewalkers", nil, "Valley of the Four Winds", 18, 31, "Pandaren Fighting Tactics") | |
AddGatherMateNode("Lorewalkers", nil, "Valley of the Four Winds", 20, 55, "The Birthplace of Liu Lang") | |
AddGatherMateNode("Lorewalkers", nil, "Valley of the Four Winds", 34, 63, "Wondering Widow") | |
AddGatherMateNode("Lorewalkers", nil, "Valley of the Four Winds", 55, 47, "A Most Famous Bill of Sale") | |
AddGatherMateNode("Lorewalkers", nil, "Valley of the Four Winds", 61, 34, "Waterspeakers") | |
AddGatherMateNode("Lorewalkers", nil, "Valley of the Four Winds", 83, 21, "Embracing the Passion") | |
-- Riches of Pandaria | |
-- http://www.wowhead.com/achievement=7997/riches-of-pandaria | |
AddGatherMateNode("Riches of Pandaria", 31416, "Kun-Lai Summit", 72, 33.9, "Statue of Xuen", "100g grey item, at bottom of lake") | |
AddGatherMateNode("Riches of Pandaria", 31418, "Kun-Lai Summit", 36.7, 79.7, "Lost Adventurer's Belongings", "gold only, inside tent") | |
AddGatherMateNode("Riches of Pandaria", 31419, "Kun-Lai Summit", 52.6, 51.5, "Rikktik's Tiny Chest", "105g grey item + 50g") | |
AddGatherMateNode("Riches of Pandaria", 31420, "Kun-Lai Summit", 64.2, 45.1, "Ancient Mogu Tablet", "95g grey item, in room with Lost Souls") | |
AddGatherMateNode("Riches of Pandaria", 31414, "Kun-Lai Summit", 49, 59, "Hozen Treasure Cache", "gold only, next to 6 containers") | |
AddGatherMateNode("Riches of Pandaria", 31422, "Kun-Lai Summit", 59.2, 73, "Terracotta Head", "100g grey item, around this area, statue head on the ground") | |
AddGatherMateNode("Riches of Pandaria", 31415, "Kun-Lai Summit", 56.7, 48.9, "Stolen Sprite Treasure", "gold only, back of cave") | |
AddGatherMateNode("Riches of Pandaria", 31428, "The Veiled Stair", 75.1, 76.4, "The Hammer of Folly", "100g grey item") | |
AddGatherMateNode("Riches of Pandaria", 31427, "Townlong Steppes", 62.8, 34.1, "Abandoned Crate of Goods", "gold only, inside tent with 2 containers") | |
AddGatherMateNode("Riches of Pandaria", 31426, "Townlong Steppes", 65.8, 86.1, "Amber Encased Moth", "105g grey item, to the right of the tree root") | |
AddGatherMateNode("Riches of Pandaria", 31423, "Townlong Steppes", 34.8, 63.1, "Fragment of Dread", "90g grey item") | |
AddGatherMateNode("Riches of Pandaria", 31423, "Townlong Steppes", 53,9, 58.4, "Hardened Sap of Kri'vess", "110g grey item") | |
AddGatherMateNode("Riches of Pandaria", 31405, "Valley of the Four Winds", 23.7, 28.3, "Virmen Treasure Cache", "98g, underground") | |
AddGatherMateNode("Riches of Pandaria", 31404, "The Jade Forest", 23.5, 35, "Pandaren Ritual Stone", "100g grey item, in between 5 stones on island") | |
AddGatherMateNode("Riches of Pandaria", 31396, "The Jade Forest", 51, 100, "Ship's Locker", "96g, swim south") | |
AddGatherMateNode("Riches of Pandaria", 31400, "The Jade Forest", 26.2, 32.4, "Ancient Pandaren Tea Pot", "100g grey item, on table") | |
AddGatherMateNode("Riches of Pandaria", 31401, "The Jade Forest", 31.9, 27.8, "Lucky Pandaren Coin", "95g grey item, in fountain") | |
AddGatherMateNode("Riches of Pandaria", 31408, "Krasarang Wilds", 68.6, 7.60, "Saurok Stone tablet", "100g grey item") | |
-- Non-riches miscellaneous loot. | |
AddGatherMateNode("Misc Loot", 31868, "Kun-Lai Summit", 47.9, 73.3, "Mo-Mo's Treasure Chest", "11g, small chest behind Mo-Mo") | |
AddGatherMateNode("Misc Loot", 31867, "The Veiled Stair", 54.5, 71.9, "Forgotten Lockbox", "10g, second floor of inn") | |
AddGatherMateNode("Misc Loot", 31869, "Valley of the Four Winds", 92.1, 39.1, "Boat-Building Instructions", "10g grey item, inside boathouse on table") | |
AddGatherMateNode("Misc Loot", 31865, "The Jade Forest", 46, 81, "Offering of Rememberance", "30g, on shrine") | |
AddGatherMateNode("Misc Loot", 31866, "The Jade Forest", 62.4, 27.5, "Stash of Gems", "green-quality gems & 6g") | |
AddGatherMateNode("Misc Loot", 31864, "The Jade Forest", 24, 53, "Chest of Supplies", "10g, bottom of waterfall near overturned boat") | |
AddGatherMateNode("Misc Loot", 31863, "Krasarang Wilds", 52, 73, "Stack of Papers", "15g grey item") | |
-- Legend of the Brewfathers | |
-- http://www.wowhead.com/achievement=7230 | |
AddGatherMateNode("Legend of the Brewfathers", nil, "Krasarang Wilds", 81.5, 11.5, "Quan Tou Kuo the Two Fisted") | |
AddGatherMateNode("Legend of the Brewfathers", nil, "The Jade Forest", 37.3, 30.1, "Xin Wo Yin the Broken Hearted") | |
AddGatherMateNode("Legend of the Brewfathers", nil, "Kun-Lai Summit", 44.7, 52.4, "Ren Yun the Blind") | |
GatherMate2:GetModule("Display"):UpdateMaps() | |
end | |
AddExplorationAchievementNodes() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Exploration Achievements in GatherMate2 - v0.1.1 - 2013-01-04 | |
-- by "Cowboy" Ben Alman | |
-- | |
-- Requires GatherMate2 to be installed | |
-- Run this script EACH TIME YOU WANT TO SEE ICONS in something like _DevPad | |
-- (Icon display will not persist across logging or reloading UI) | |
local function AddGatherMateTreasureType(name, id, icon) | |
GatherMate2.nodeTextures["Treasure"][id] = "Interface\\AddOns\\GatherMate2\\Artwork\\" .. icon | |
GatherMate2.nodeIDs["Treasure"][name] = id | |
GatherMate2.reverseNodeIDs["Treasure"][id] = name | |
end | |
-- Unique icons | |
function ShowExplorationAchievementIcons() | |
AddGatherMateTreasureType("Another Man's Treasure", 999, "Gas\\arcane_vortex.tga") | |
AddGatherMateTreasureType("Lorewalkers", 998, "Gas\\cinder.tga") | |
AddGatherMateTreasureType("Riches of Pandaria", 997, "Gas\\felmist.tga") | |
AddGatherMateTreasureType("Misc Loot", 996, "Gas\\windy_cloud.tga") | |
AddGatherMateTreasureType("Legend of the Brewfathers", 995, "Gas\\swamp_gas.tga") | |
GatherMate2:GetModule("Display"):UpdateMaps() | |
end | |
ShowExplorationAchievementIcons() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment