Skip to content

Feature/trade query improvements#9688

Closed
BeardyBarber wants to merge 3 commits intoPathOfBuildingCommunity:devfrom
BeardyBarber:feature/trade-query-improvements
Closed

Feature/trade query improvements#9688
BeardyBarber wants to merge 3 commits intoPathOfBuildingCommunity:devfrom
BeardyBarber:feature/trade-query-improvements

Conversation

@BeardyBarber
Copy link

No description provided.

BeardyBarber and others added 3 commits March 18, 2026 20:05
…ods, catalyst de-augmentation

- Consolidate related explicit/implicit trade stat IDs into pseudo.* filters
  to reduce filter slot usage (PseudoStats.lua cache + pseudoMemberLookup)
- Add "Require current mods" checkbox: adds explicit/implicit mods from the
  currently equipped item as required minimum filters
- Strip catalyst quality boost from mod values before setting required minimums
- Skip crafted (bench) mods from required filters so users can re-craft them
- Fix catalyst clipboard format parsing in Item.lua
- Parse and round-trip valueScalar annotation through BuildRaw
- Add tests: catalyst parsing, valueScalar, de-augmentation formula, crafted skip
…dling

- Fix Eldritch mods (Eater/Exarch): now properly included in require-current-mods filters for modes 2-3 by merging eldritch text lookups into explicit lookup when checkbox is enabled

- Add Implicit Mods checkbox: gates implicit weight generation (modes 1-3) and implicit require-current-mods filtering (modes 2-3), giving users fine-grained control over implicit mod inclusion

- Fix popup layout: shorten "Search mode:" label to "Mode:" to prevent label from extending off-screen in the TOPRIGHT-anchored control chain

All checkbox behaviors now respect the four search modes:
  Mode 1 (Standard): weighted search
  Mode 2 (Upgrade): weighted + require current mods
  Mode 3 (Exact): require current mods only
  Mode 4 (Implicit Upgrade): implicit weights only

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…r, UI layout

- Fix local weapon/armour mods mapping to wrong trade stat ID (preferLocal lookup)
- Fix crafted mod count group using wrong data pool (data.masterMods vs data.itemMods.Item)
- Fix crafted slot stat IDs: looked up dynamically from trade API, cached in PseudoStats.lua
- Add Implicit Mods, Pseudo Mods checkboxes; rename Corrupted Mods → Corrupted Items
- Corrupted Items now adds misc_filters exclusion same as Mirrored Items
- Fix control layout: all controls left-aligned in single TOPLEFT chain, correct order

Claude Code helped here.
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.

1 participant