Skip to content

feat: filterset modifiers#101

Closed
roundaboutluke wants to merge 1 commit intoccev:mainfrom
roundaboutluke:feat/filtersetmodifiers
Closed

feat: filterset modifiers#101
roundaboutluke wants to merge 1 commit intoccev:mainfrom
roundaboutluke:feat/filtersetmodifiers

Conversation

@roundaboutluke
Copy link
Copy Markdown
Contributor

Adds visual modifiers to filtersets - glow, background, scale, rotation, badge, and label options that let users customize how filtered map objects appear.

Each filterset gets a "Visual" section in its editor with a live preview map.

Implementation:

  • Three-layer MapLibre rendering (underlay → icon → badge) for clean visual separation
  • Canvas-based overlay generation with caching for glow/background circles
  • Filterset matching system that resolves which visual modifiers apply to each map object
  • Live preview map in the modifier editor that mirrors the main map's layer structure
  • Premade filtersets (hundos, PVP rank 1) ship with sensible defaults

Note: Also fixes an operator precedence bug in quest reward matching where item amount checks could match regardless of item id which was discovered while testing quest filter sets.

PS Built with AI assistance. Please review thoroughly as usual.

PPS My Portuguese Brother-in-Law says the PT translations are spot on, but the rest need vetting by native speakers. 😄

feat: filterset modifiers
@roundaboutluke
Copy link
Copy Markdown
Contributor Author

Closing and recreated on #103 due to drift

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