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

Add the possibility to include a default/preset profile #391

Open
3 of 5 tasks
KANAjetzt opened this issue Apr 11, 2024 · 1 comment
Open
3 of 5 tasks

Add the possibility to include a default/preset profile #391

KANAjetzt opened this issue Apr 11, 2024 · 1 comment
Assignees
Labels
4.x enhancement New feature or request
Milestone

Comments

@KANAjetzt
Copy link
Member

KANAjetzt commented Apr 11, 2024

Add the possibility for the game dev to ship a predefined user profile that applies on the first load.
This allows including inactive example mods that the player can activate if desired.

Todos

  • Add custom_default_profile to ModLoaderOptionsProfile
  • Add custom_default_profile to ModLoaderStore.ml_options
  • Add check for custom_default_profile in ModLoaderUserProfile._load()
  • Add @export for ModUserProfile
    • Subclass for mod_list (exporting the Dictionary is not ideal)
@KANAjetzt KANAjetzt added enhancement New feature or request 4.x labels Apr 11, 2024
@KANAjetzt KANAjetzt added this to the 4.x - 7.0.0 milestone Apr 11, 2024
@KANAjetzt KANAjetzt self-assigned this Apr 11, 2024
@KANAjetzt
Copy link
Member Author

Change of plans. Defining a preset user profile is a pain, so I changed the way the disabled_mods setting works to still load the mod into mod_data. This way, the metadata is accessible for mod menus.

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

No branches or pull requests

1 participant