Add Ship Routes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-11-11 15:19:19 +00:00
parent 01a351a865
commit 63eebfc8bd
15 changed files with 1426 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# WoW Forever addons
Five small quality-of-life addons for WoW Forever (client 1.60.1, Interface 16001).
Six small quality-of-life addons for WoW Forever (client 1.60.1, Interface 16001).
| Addon | What it does | Check command |
| --- | --- | --- |
@ -9,10 +9,11 @@ Five small quality-of-life addons for WoW Forever (client 1.60.1, Interface 1600
| Vendor Flag | Marks items for 10 minutes after Auctionator warns they would earn more at a vendor. Requires [Auctionator](https://www.curseforge.com/wow/addons/auctionator). | `/vf` |
| Quest Shopping List | A panel beside the auction house listing items your quests still need, with cost against the quest's reward. Click to search. Requires [Auctionator](https://www.curseforge.com/wow/addons/auctionator). | `/qsl` |
| Dungeon Pre-Quest | Marks dungeon quests and quests whose chain leads to one, in the quest log, NPC quest lists and the quest offer window, with a purple "!" on the minimap for ones you can pick up now. | `/dpq <questID>` |
| Ship Routes | Draws every boat, zeppelin and airship route on the world map, coloured by faction. Hover a dock marker to see where it sails and light up its route, click it to open the destination's map. | `/routes`, `/routes mine`, `/routes all` |
## Install
Copy the five addon folders into `World of Warcraft/_forever_/Interface/AddOns/`, then type `/reload` in game.
Copy the six addon folders into `World of Warcraft/_forever_/Interface/AddOns/`, then type `/reload` in game.
Each addon works on its own, so copy only the ones you want. Vendor Flag and Quest Shopping List stay disabled unless Auctionator is installed.
## Known limits
@ -23,6 +24,7 @@ Each addon works on its own, so copy only the ones you want. Vendor Flag and Que
- Dungeon Pre-Quest misses chains that QuestieDB has no links for, which includes many quests new to Forever.
- Its minimap markers skip quests started by an item, and quests with profession or reputation requirements.
- Quest Shopping List's prices are Auctionator's last-seen prices, so run "Search all" for current ones. Rewards count gold plus item value, not XP.
- Ship Routes' dock names and the list of which paths are transports are curated by hand in `ShipRoutes/tools/generate.py`, because the client doesn't record which ship sails which path. The Zephras Isle airships have no known faction, so they show in neutral gold.
## Tests
@ -35,6 +37,7 @@ lua tests/test_vf.lua VendorFlag/VendorFlag.lua
lua tests/test_dpq.lua DungeonPreQuest/DungeonPreQuest.lua
lua tests/test_dpq_minimap.lua DungeonPreQuest/Minimap.lua
lua tests/test_qsl.lua QuestShoppingList/QuestShoppingList.lua
lua tests/test_sr.lua ShipRoutes
```
## Regenerating Dungeon Pre-Quest's data
@ -47,6 +50,18 @@ lua DungeonPreQuest/tools/generate.lua merged.lua DungeonPreQuest/Data.lua Dunge
lua QuestShoppingList/tools/generate.lua merged.lua QuestShoppingList/Data.lua
```
## Regenerating Ship Routes' data
`ShipRoutes/Data.lua` comes from the client's own `TaxiPathNode.db2`, read out of the local game install (product `wowf`) with Python 3:
```
python3 ShipRoutes/tools/casc.py "<World of Warcraft dir>" wowf out 1000437
python3 ShipRoutes/tools/generate.py out/1000437.db2 ShipRoutes/Data.lua
```
The generator stops if a route's stop isn't near a dock it knows, so a moved or new dock shows up as an error rather than a wrong name.
`ShipRoutes/tools/icons.py ShipRoutes/Icons` redraws the marker textures.
## Credits and licence
Dungeon Pre-Quest's data is derived from [QuestieDB](https://github.com/Questie/QuestieDB) and