Skip to content

Allow toggling individual item mods just by clicking on them - #10083

Open
xoxorwr wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
xoxorwr:toggle-item-mod
Open

Allow toggling individual item mods just by clicking on them#10083
xoxorwr wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
xoxorwr:toggle-item-mod

Conversation

@xoxorwr

@xoxorwr xoxorwr commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

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 properly

Steps 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

@xoxorwr
xoxorwr marked this pull request as ready for review August 1, 2026 07:15
@LocalIdentity

Copy link
Copy Markdown
Contributor

This would have been quite helpful when I've wanted to test mods a bunch for dev work
I don't think you're in the PoB dev discord so if you want to join, just send me a message (Localidentity)

Comment thread src/Modules/ItemTools.lua
return
end
if modLine.disabled then
return "^x7F7F7F" .. line

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to add this as a new colour to src/Data/Global.lua?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants