-
Notifications
You must be signed in to change notification settings - Fork 4
Description
It would be great if there was a way to query quest objectives in a way so that we also get information in which order they will appear in game when there is more than one objective.
The background of this unusual feature request: I am the developer of the leveling addon Guidelime. Many of my users have requested, that it would be nice to be able to use ClassicCodex as the quest database for the addon. Currently for this purpose Questie is a dependency. To me it seems it would be very well possible to use this excellent addon as a data source instead. Right now above issue seems to be the only thing which is in the way.
Here is an example:
The quest https://tbc.wowhead.com/quest=9761/clearing-the-way has two objectives.
When querying CodexDB.quests.data[9761].obj.U I can access the npc ids: {17609,17610}. But currently I do not see a way to get the information that actually the second id in the array corresponds to the first objective of the quest. (The order of the objectives shown on wowhead always is the same as it is in game, as well as e.g. used in functions like GetQuestLogLeaderBoard.)
Easiest solution would be if the array would respect the order e.g. {17610,17609} in above example. But this would be problematic when more than one id correspond to the same objective. As in https://tbc.wowhead.com/quest=10482/fel-orc-scavengers (new type of quests added in tbc). Maybe an additional array CodexDB.quests.data[x].obj.order or something like that could be added. Whatever would be easiest to implement.
Feel free to ignore my request. I would be very thankful if it could be realized.
Cheers, Borick