Skip to content

Commit

Permalink
Comment-out incomplete TWW pieces
Browse files Browse the repository at this point in the history
  • Loading branch information
zarillion committed Jun 6, 2024
1 parent cb83fca commit 219e760
Show file tree
Hide file tree
Showing 7 changed files with 357 additions and 225 deletions.
2 changes: 1 addition & 1 deletion plugins/11_TheWarWithin/HandyNotes_TheWarWithin.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 110000
## Title: HandyNotes: The War Within
## Version: 1
## Version: 0
## Notes: The War Within Notes
## OptionalDeps: Ace3
## RequiredDeps: HandyNotes
Expand Down
79 changes: 79 additions & 0 deletions plugins/11_TheWarWithin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
**A [HandyNotes](https://www.curseforge.com/wow/addons/handynotes) plugin for The War Within expansion. It will add the locations and rewards for rare mobs, battle pets, treasures and other miscellaneous points of interest to the map.**

## Global Features

### Rare Mobs

Rare mobs are listed as skulls on your map. If the skull is blue colored, that means you still need a collectible reward from that rare. If the rare has multiple spawn points, shares a spawn with common mobs or has a path, hovering over the skull will indicate all the points of interest or paths. Left-clicking on the skull will stick the points of interested on the map and minimap as you travel.

### Treasures & Collectibles

Locations and solutions for treasures are displayed on the map, along with the achievement they are associated with and any rewards they contain. Each treasure icon will disappear once it has been looted. The locations of mounts, pets and other collectibles found in the open world are also noted.

### Battle Pets and Trainers

The locations of all pet trainers and creature battles are marked on the map. Any achievements associated with defeating that creature or trainer will appear in the tooltip.

### Waypoints

Right-clicking a node to bring up its context menu. From this menu you can:

* Create a Blizzard or TomTom waypoint
* Hide this node or restore all hidden nodes

### Quick Toggle Menu

In addition to the plugin settings menu found under *Interface > Addons > HandyNotes*, a quick toggle menu will appear on any map that contains nodes added by this plugin. This allows you to quickly toggle, resize or change the opacity of nodes displayed on the current map.

### Options

* Change icon sizes and alpha based on type (rares, treasures, battle pets, etc)
* Customize the size and color of POIs and paths.
* Enable or disable groups of icons
* Enlarge icons when the world map is maximized
* Show only rares that you still need rewards from
* Show already completed nodes

## Expansion Features

This plugin adds information to the map for the following zones:

* Patch 11.0.0 - The Isle of Dorn, The Ringing Deeps, Hallowfall, Azj-Kahet

In addition to rares, treasures and pet battles, this plugin also adds the following expansion or zone-specific items.

### Khaz Algar

* TODO

### The Isle of Dorn

* TODO

### The Ringing Deeps

* TODO

### Hallowfall

* TODO

### Azj-Kahet

* TODO

## Localization

This addon has been translated to the following languages:

* TODO

If you would like to translate the addon to another language, please open a [ticket](https://github.com/zarillion/handynotes-plugins/issues) or submit a [pull request](https://github.com/zarillion/handynotes-plugins/pulls) on GitHub.

## Issues

Did we miss something? Let us know in the comments if:

* Something is out of place on the map.
* A reward, path or spawn point is missing from a rare.
* Icons are not removed from the map when expected.
53 changes: 53 additions & 0 deletions plugins/11_TheWarWithin/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ ns.expansion = 11
----------------------------------- GROUPS ------------------------------------
-------------------------------------------------------------------------------

ns.groups.DRAGONRACE = Group('dragonrace', 1100022, {
defaults = ns.GROUP_HIDDEN,
type = ns.group_types.EXPANSION
})

ns.groups.FLIGHT_GLYPH = Group('flight_glyph', 4728198, {
defaults = ns.GROUP_HIDDEN,
type = ns.group_types.EXPANSION
Expand All @@ -36,6 +41,54 @@ ns.groups.SIGN = Group('sign', 135946, {
achievement = 16423
})

-------------------------------------------------------------------------------
--------------------------------- DRAGONRACES ---------------------------------
-------------------------------------------------------------------------------

local Dragonrace = Class('DragonRace', Collectible,
{icon = 1100022, group = ns.groups.DRAGONRACE})

function Dragonrace.getters:sublabel()
if self.normal then
local ntime = C_CurrencyInfo.GetCurrencyInfo(self.normal[1]).quantity
if self.advanced and self.reverse then
local atime = C_CurrencyInfo.GetCurrencyInfo(self.advanced[1])
.quantity
local rtime = C_CurrencyInfo.GetCurrencyInfo(self.reverse[1])
.quantity
return L['dr_best']:format(ntime / 1000, atime / 1000, rtime / 1000)
end
return L['dr_best_dash']:format(ntime / 1000)
end
end

function Dragonrace.getters:note()
if self.normal then
local silver = ns.color.Silver
local gold = ns.color.Gold

-- LuaFormatter off
if self.advanced and self.reverse then
return L['dr_note']:format(
silver(self.normal[2]),
gold(self.normal[3]),
silver(self.advanced[2]),
gold(self.advanced[3]),
silver(self.reverse[2]),
gold(self.reverse[3])
) .. L['dr_bronze']
end

return L['dr_note_dash']:format(
silver(self.normal[2]),
gold(self.normal[3])
) .. L['dr_bronze']
-- LuaFormatter on
end
end

ns.node.DragonRace = Dragonrace

-------------------------------------------------------------------------------
-------------------------------- FLIGHT GLYPHS --------------------------------
-------------------------------------------------------------------------------
Expand Down
110 changes: 55 additions & 55 deletions plugins/11_TheWarWithin/zones/hallowfall.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ local map = Map({id = 2215, settings = true})
--------------------------------- DRAGONRACES ---------------------------------
-------------------------------------------------------------------------------

map.nodes[73003900] = DragonRace() -- Dunelle's Detour
map.nodes[40006600] = DragonRace() -- Light's Redoubt Descent
map.nodes[38006300] = DragonRace() -- Mereldar Meander
map.nodes[58002600] = DragonRace() -- Stillstone Slalom
map.nodes[60006800] = DragonRace() -- Ternir's Traversal
map.nodes[55001800] = DragonRace() -- Velhan's Venture
-- map.nodes[73003900] = DragonRace() -- Dunelle's Detour
-- map.nodes[40006600] = DragonRace() -- Light's Redoubt Descent
-- map.nodes[38006300] = DragonRace() -- Mereldar Meander
-- map.nodes[58002600] = DragonRace() -- Stillstone Slalom
-- map.nodes[60006800] = DragonRace() -- Ternir's Traversal
-- map.nodes[55001800] = DragonRace() -- Velhan's Venture

-------------------------------------------------------------------------------
------------------------ ACHIEVEMENT: MERELDAR MENANCE ------------------------
Expand All @@ -37,52 +37,52 @@ local MereldarMenance = Class('MereldarMenance', Collectible, {
note = L['mereldar_menance_note']
})

map.nodes[00000000] = MereldarMenance({
label = '{npc:223508}',
rewards = {Achievement({id = 40151, criteria = 1})}
}) -- Orphange Window

map.nodes[10001000] = MereldarMenance({
label = '{npc:223513}',
rewards = {Achievement({id = 40151, criteria = 2})}
}) -- Notice Board

map.nodes[20002000] = MereldarMenance({
label = '{npc:223515}',
rewards = {Achievement({id = 40151, criteria = 3})}
}) -- Food Stall

map.nodes[30003000] = MereldarMenance({
label = '{npc:223516}',
rewards = {Achievement({id = 40151, criteria = 4})}
}) -- Fountain

map.nodes[40004000] = MereldarMenance({
label = '{npc:223517}',
rewards = {Achievement({id = 40151, criteria = 5})}
}) -- Spice Stall

map.nodes[50005000] = MereldarMenance({
label = '{npc:223522}',
rewards = {Achievement({id = 40151, criteria = 6})}
}) -- Light and Flame

map.nodes[60006000] = MereldarMenance({
label = '{npc:223527}',
rewards = {Achievement({id = 40151, criteria = 7})}
}) -- Lamplighter Doorway

map.nodes[70007000] = MereldarMenance({
label = '{npc:223538}',
rewards = {Achievement({id = 40151, criteria = 8})}
}) -- Barracks Doorway

map.nodes[80008000] = MereldarMenance({
label = '{npc:223557}',
rewards = {Achievement({id = 40151, criteria = 9})}
}) -- Holy Oil

map.nodes[90009000] = MereldarMenance({
label = '{npc:223559}',
rewards = {Achievement({id = 40151, criteria = 10})}
}) -- Airship Drafting Board
-- map.nodes[00000000] = MereldarMenance({
-- label = '{npc:223508}',
-- rewards = {Achievement({id = 40151, criteria = 1})}
-- }) -- Orphange Window

-- map.nodes[10001000] = MereldarMenance({
-- label = '{npc:223513}',
-- rewards = {Achievement({id = 40151, criteria = 2})}
-- }) -- Notice Board

-- map.nodes[20002000] = MereldarMenance({
-- label = '{npc:223515}',
-- rewards = {Achievement({id = 40151, criteria = 3})}
-- }) -- Food Stall

-- map.nodes[30003000] = MereldarMenance({
-- label = '{npc:223516}',
-- rewards = {Achievement({id = 40151, criteria = 4})}
-- }) -- Fountain

-- map.nodes[40004000] = MereldarMenance({
-- label = '{npc:223517}',
-- rewards = {Achievement({id = 40151, criteria = 5})}
-- }) -- Spice Stall

-- map.nodes[50005000] = MereldarMenance({
-- label = '{npc:223522}',
-- rewards = {Achievement({id = 40151, criteria = 6})}
-- }) -- Light and Flame

-- map.nodes[60006000] = MereldarMenance({
-- label = '{npc:223527}',
-- rewards = {Achievement({id = 40151, criteria = 7})}
-- }) -- Lamplighter Doorway

-- map.nodes[70007000] = MereldarMenance({
-- label = '{npc:223538}',
-- rewards = {Achievement({id = 40151, criteria = 8})}
-- }) -- Barracks Doorway

-- map.nodes[80008000] = MereldarMenance({
-- label = '{npc:223557}',
-- rewards = {Achievement({id = 40151, criteria = 9})}
-- }) -- Holy Oil

-- map.nodes[90009000] = MereldarMenance({
-- label = '{npc:223559}',
-- rewards = {Achievement({id = 40151, criteria = 10})}
-- }) -- Airship Drafting Board
Loading

0 comments on commit 219e760

Please sign in to comment.