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
Support for incompatible mods in Info.json #50
Comments
This can add problems to users if another mod author adds compatibility. |
Maybe just show a warning, not an error? |
The ModEntry object has the CustomRequirements field, so you can write various comments in it. var mod = UnityModManager.FindMod("incompatiblemod");
if (mod != null)
{
modEntry.CustomRequirements = $"Mod {mod.Info.DisplayName} incompatible";
} |
Your variant is of course better, I will add it someday. |
The compatibility patch mod would need to list the mods it makes compatible as requirements. Meaning incompatibility notes should be ignored if a mod is being loaded that requires both incompatible mods, since it can be presumed that the mod addresses the incompatibility in some way shape or form. |
I think it would be useful to have a list of incompatible mods after the required ones in the Info.json
The text was updated successfully, but these errors were encountered: