Skip to content
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

Save manager needs load priority #34

Open
violin-suzutsuki opened this issue May 5, 2023 · 0 comments
Open

Save manager needs load priority #34

violin-suzutsuki opened this issue May 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@violin-suzutsuki
Copy link
Owner

Currently the load priority is Toggles > Options, and that's it.

Works fine for the most part, but what if we want 2 dropdowns where the Values in the 2nd dropdown is dependant upon the Value of the 1st? Example: for a dungeon autofarm script where the 1st dropdown is the selected dungeon, and the 2nd is the difficulty. When the user clicks the 1st dropdown and selects a dungeon, we want to re-populate the 2nd dropdown based on what difficulties are unlocked for that dungeon.

This doesn't work with the current save manager, because we could easily run into a scenario where the difficulty dropdown is loaded before the dungeon dropdown is loaded

To fix this we need a way to specify a 'LoadPriority' where UI elements with higher load priorities get loaded first - so that we can specify that our dungeon dropdown is always loaded before the difficulty dropdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant