Skip to content

Commit

Permalink
Show treasure nodes on the minimap
Browse files Browse the repository at this point in the history
  • Loading branch information
kemayo committed May 18, 2024
1 parent 190f77c commit a56e4b5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 26 deletions.
6 changes: 6 additions & 0 deletions pandaria.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ ns.groups["junk"] = "Junk"
ns.riches = ns.nodeMaker{
achievement=7997, -- Riches of Pandaria
atlas="auctioneer",
minimap=true,
}
ns.treasure = ns.nodeMaker{
achievement=7284, -- Is Another Man's Treasure
-- atlas="reagents",
minimap=true,
}

ns.RegisterPoints(424, {}) -- continent
4 changes: 1 addition & 3 deletions zones/DreadWastes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ ns.RegisterPoints(422, { -- Dread Wastes
[54305650] = { loot={86526}, quest=31437, }, -- Swarmkeeper's Medallion
[71803610] = { loot={86519}, quest=31429, }, -- Wind-Reaver's Dagger of Quick Strikes
[28804190] = { loot={86527}, quest=31438, }, -- Blade of the Poisoned Mind
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})

-- Rares

Expand Down
7 changes: 2 additions & 5 deletions zones/JadeForest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ ns.RegisterPoints(371, { -- The Jade Forest
[46102920] = { loot={85777}, note="in the cave", quest=31399, }, -- Ancient Pandaren Mining Pick
[47106740] = { loot={86196}, quest=31402, }, --Ancient Jinyu Staff
[46207120] = { loot={86196}, quest=31402, }, --Ancient Jinyu Staff
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})
ns.RegisterPoints(373, { -- Greenstone Quarry, cave in Jade Forest
[33107800] = {}, -- Ancient Pandaren Mining Pick
[44007050] = {}, -- Ancient Pandaren Mining Pick
[43703850] = {}, -- Ancient Pandaren Mining Pick
[38704750] = {}, -- Ancient Pandaren Mining Pick
[32606270] = {}, -- Ancient Pandaren Mining Pick
[38231394] = {}, -- Ancient Pandaren Mining Pick
}, {
achievement=7284, -- Is Another Man's Treasure
}, ns.treasure{
quest=31399,
loot={85777},
})
Expand Down
4 changes: 1 addition & 3 deletions zones/KrasarangWilds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ ns.RegisterPoints(418, { -- Krasarang Wilds
[43669232] = { loot={86122}, label="Equipment Locker", quest=31410, }, -- Plankwalking Greaves
[54488873] = { loot={87266}, note="in a barrel", quest=31411, }, -- Recipe: Banana Infused Rum
[52814644] = { loot={86124}, quest=31409, }, -- Pandaren Fishing Spear
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})

ns.RegisterPoints(418, { -- Krasarang Wilds
[54267232] = { loot={87798}, group="junk", quest=31863, }, -- Stack of Papers
Expand Down
12 changes: 3 additions & 9 deletions zones/KunLaiSummit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@ ns.RegisterPoints(379, { -- Kun Lai Summit
[71206260] = { loot={88723}, note="in Stash of Yaungol Weapons", quest=31421, }, -- Sturdy Yaungol Spear
[44705240] = { loot={86393}, quest=31417, }, -- Tablet of Ren Yun
[47007300] = { label="Mo-Mo's Treasure Chest", group="junk", quest=31868, },
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})
ns.RegisterPoints(383, { -- TheDeeper, cave in Kun-Lai
[24106580] = { loot={86394}, quest=31413, }, -- Hozen Warrior Spear
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})
ns.RegisterPoints(381, { -- PrankstersHollow, cave in Kun-Lai
[54706980] = { label="Sprite's Cloth Chest", quest=31412, },
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})

ns.RegisterPoints(379, { -- Kun Lai Summit
[64234513] = { loot={86471}, quest=31420, note="in the cave" }, -- Ancient Mogu Tablet
Expand Down
4 changes: 1 addition & 3 deletions zones/TownlongSteppes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ local myname, ns = ...
ns.RegisterPoints(388, { -- Townlong Steppes
[66304470] = { loot={86518}, quest=31425, }, -- Yaungol Fire Carrier
[66804800] = { loot={86518}, quest=31425, }, -- Yaungol Fire Carrier
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})
ns.RegisterPoints(388, { -- Townlong Steppes
[62823405] = { label="Abandoned Crate of Goods", note="in a tent", quest=31427, },
[65838608] = { loot={86472}, quest=31426, }, -- Amber Encased Moth
Expand Down
4 changes: 1 addition & 3 deletions zones/ValleyOfTheFourWinds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ ns.RegisterPoints(376, { -- Valley of the Four Winds
[19103780] = { loot={86218}, quest=31407, }, -- Staff of the Hidden Master
[19004250] = { loot={86218}, quest=31407, }, -- Staff of the Hidden Master
[43603740] = { label="Cache of Pilfered Goods", quest=31406, },
}, {
achievement=7284, -- Is Another Man's Treasure
})
}, ns.treasure{})

ns.RegisterPoints(376, { -- Valley of the Four Winds
[23712833] = { label="Virmen Treasure Cache", quest=31405, },
Expand Down

0 comments on commit a56e4b5

Please sign in to comment.