[ENHANCEMENT] greyed out mods that arent compatible - #7940
Open
kiryvajiravuth wants to merge 1 commit into
Open
[ENHANCEMENT] greyed out mods that arent compatible #7940kiryvajiravuth wants to merge 1 commit into
kiryvajiravuth wants to merge 1 commit into
Conversation
Kade-github
requested changes
Aug 14, 2026
Kade-github
left a comment
Member
There was a problem hiding this comment.
Without looking at the code, I would say I want one thing here.
A little text that is displayed overtop the description, bottom anchored that is in red saying it is incompatible with the current game version.
This does look like something we'd want though! Thank you for your pr.
Contributor
Author
|
i accidently pushed without any testing mb |
kiryvajiravuth
force-pushed
the
greyed-mod
branch
from
August 15, 2026 06:12
0a3f58c to
788078e
Compare
Contributor
Author
Contributor
Author
|
yup i think its done mod-menu-test-small.mp4 |
kiryvajiravuth
force-pushed
the
greyed-mod
branch
from
August 15, 2026 14:30
788078e to
fdcc23d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Linked Issues
closes #7939
Description
Currently, mods whose
api_versiondoesn't satisfy the game's API version rule (>=0.8.0 <0.10.0) are silently hidden from the Mod Menu. If a mod is incompatible, players have no way to see it, why its missing, or even know that it exists at all.This PR makes incompatible mods visible but greyed out in the Mod Menu:
getAllModsIncludingIncompatible(),scanMods(includeIncompatible, force)(omits the API version rule so broken mods still surface),isModCompatible(), andgetDisabledModsIncludingIncompatible()(incompatible mods sorted to the bottom of the Disabled list).compatibleflag andsetIncompatible()which greys out the title/description and dims the icon.An incompatible mod still cannot be enabled , it just isn't invisible anymore.
Screenshots/Videos
enhancement-footage.mp4