Skip to content

Add NOT filters to trader - #10259

Open
vaisest wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
vaisest:trader-not
Open

Add NOT filters to trader#10259
vaisest wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
vaisest:trader-not

Conversation

@vaisest

@vaisest vaisest commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #5581.

Description of the problem being solved:

This adds dropdown selectors for "NOT" filters in the trader. This is accompanied by a refactor of the max filter system to use a complexity budget, which is what the trade site does in reality.

This also makes the popup height dynamic, and adds magical colour to the mod texts.

Steps taken to verify a working solution:

  • Todo

Link to a build that showcases this PR:

Before screenshot:

image

After screenshot:

image image


-- Apply any requests influences
if options.influence1 > 1 then
testItem[itemLib.influenceInfo.default[options.influence1 - 1].key] = true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Apparently the influence controls also set it on the test subject. This probably needs a solution for what cares about influences. We could also maybe generate weights for it

@vaisest
vaisest marked this pull request as ready for review August 20, 2026 19:38
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.

Allow use of certain stat groups in the Trade query feature

1 participant