-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: offline generation of action packs #3995
Comments
I'm opening this issue as a discussion point. I think this will be very useful for the project. I'm happy to devote a lot of time to submitting patches for review and getting this done. |
I've debated going this route for quite a while. Instead of Honestly, the shortest implementation of this just requires:
Then, the work of That doesn't solve for offline serialization, but we could still do validation of the priority itself later. |
That works, too. The import does cause extra loading time, so people will see longer loading screens as a result, but it has the benefit of simplicity, and not needing to synchronize between the APL and the action pack string. |
We can make header comments in each |
I'll work on this for a pull request, and then a later one as well for a linter to verify the priority file. |
As far as I know, we can only load .lua files, but your point stands. We can load them as .lua files. |
Ah, yes, not sure what I was thinking there. We can only load Lua files, so the SimC APL would just be a string inside the Lua file, much like the current action pack, so the rest of the bits would just be key/value pairs inside a table that gets registered with the addon. |
I'm currently working on this and I see in
I believe that this function was a placeholder to do what you (@Hekili) had described above. I'll implement the body of this function, use it to create default priorities in |
I'm going to split the progress on this into separate pull requests. The first will just contain the new code plus the changes to In this way, the changes are incremental and won't break anything (hopefully!). |
Before You Begin
Feature Request
I'd like to see the ability to generate action packs from priorities without needing the WoW client to be open. This helps improve maintenance of the addon and with easing updates to the latest SimC priorities.
Additional Information
I think the following steps need to be taken:
TheWarWithin/ActionPacks/DeathKnightBlood.lua
, etc. This is tremendously helpful for minimizing diffs to the actual spec files as the actual action pack lines are just generated noise in the diffs.Contact Information
No response
The text was updated successfully, but these errors were encountered: