Allow toggling individual item mods just by clicking on them - #10083
Open
xoxorwr wants to merge 2 commits into
Open
Allow toggling individual item mods just by clicking on them#10083xoxorwr wants to merge 2 commits into
xoxorwr wants to merge 2 commits into
Conversation
xoxorwr
marked this pull request as ready for review
August 1, 2026 07:15
Contributor
|
This would have been quite helpful when I've wanted to test mods a bunch for dev work |
Nightblade
reviewed
Aug 1, 2026
| return | ||
| end | ||
| if modLine.disabled then | ||
| return "^x7F7F7F" .. line |
Contributor
There was a problem hiding this comment.
Might be better to add this as a new colour to src/Data/Global.lua?
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.
Fixes # .
Description of the problem being solved:
To toggle a mod, you have to go through the hassle of selecting the item, clicking edit, locating the mod, typing a comment at the start of the line, click save, and then go again in the same process to toggle it back.
I solved this by allowing to click on individual mods to toggle them, and by introducing a
{disabled}line flag so we can also visualize disabled mods properlySteps taken to verify a working solution:
Link to a build that showcases this PR:
Before screenshot:
After screenshot:
2026-08-01.09-14-20.mp4