You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I feel like having Save.instance.modOptions as a Map<String, Dynamic> would cause issues with other mods.
Instead, I feel like a better approach would be to make Save.instance.modOptions a Map<String, Map<String, Dynamic>>
Why, you may be asking? At first glance, this doesn't feel like much of a change to be made, but this could be used to auto-create option sub-menus. So you could go into options and see a new category named "Mod Options". When entering, it would contain sub-menus with the names of mod IDs, which would then contain the settings for said mods. I feel like this would be a good addition to the engine.
Although Map<String, Map<String, Dynamic>> would probably end up being something more like Map<String, Map<String, Array<CustomTypedef>>> with the sub-menus stuff.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I feel like having
Save.instance.modOptions
as aMap<String, Dynamic>
would cause issues with other mods.Instead, I feel like a better approach would be to make
Save.instance.modOptions
aMap<String, Map<String, Dynamic>>
Why, you may be asking? At first glance, this doesn't feel like much of a change to be made, but this could be used to auto-create option sub-menus. So you could go into options and see a new category named "Mod Options". When entering, it would contain sub-menus with the names of mod IDs, which would then contain the settings for said mods. I feel like this would be a good addition to the engine.
Although
Map<String, Map<String, Dynamic>>
would probably end up being something more likeMap<String, Map<String, Array<CustomTypedef>>>
with the sub-menus stuff.Beta Was this translation helpful? Give feedback.
All reactions