Skip to content

Add gem quality for matching socket based on equipped item - #10022

Open
vaisest wants to merge 10 commits into
PathOfBuildingCommunity:devfrom
vaisest:import-quality
Open

Add gem quality for matching socket based on equipped item#10022
vaisest wants to merge 10 commits into
PathOfBuildingCommunity:devfrom
vaisest:import-quality

Conversation

@vaisest

@vaisest vaisest commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

3.29 added a mechanic where gems that are in the matching colour sockets adds +10% quality. This PR adds handling for that, and in general socket-related things which are actually relevant because of that change.

Steps taken to verify a working solution:

  • Matching gems tested
  • "White" gems tested -> no quality is added. In the future if GGG happens to add a bonus for these, it should be easy to add
  • On load, quality is added correctly. Skills are loaded before items, but the matching sockets are separately checked.
  • Quality is added when equipping or unequipping items
  • Quality is communicated through coloured gem quality edit boxes
  • Quality is separated by type in tooltips similar to the way they are in in-game tooltips
  • Split links (i.e., multiple groups per item) are handled by assuming that they are kept in the correct order
  • Dialla's malefaction always grants the bonus
  • Optimise sockets button makes the colours correct on an equipped item, and doesn't make the item have too many sockets

Currently this PR does NOT handle empty sockets at all. This is clearly problematic since the gems will not match the correct sockets if the gaps are missing, but solving this for sure requires changing the way socket groups are handled or saved, and so I think it's best done later in a separate PR. This PR intentionally makes no changes to the way gems are saved.

Link to a build that showcases this PR:

Nearly any character should work.

Dialla's: https://poe.ninja/poe1/builds/allflame?items=Dialla%27s+Malefaction

All 4 types of quality at once (ground slam group): https://poe.ninja/poe1/pob/9519e

Before screenshot:

image image

After screenshot:

image
Path.space.of.space.Building_2026-08-02_17-07-30.mp4
image Awakened_PoE_Trade_2026-08-02_18-28-00 image

@vaisest vaisest changed the title Add 10 quality for matching socket colour on import Add quality bonus for matching socket based on equipped item Aug 2, 2026
@vaisest vaisest changed the title Add quality bonus for matching socket based on equipped item Add gem quality for matching socket based on equipped item Aug 2, 2026
@vaisest vaisest closed this Aug 2, 2026
@vaisest vaisest reopened this Aug 2, 2026
@vaisest vaisest added the enhancement New feature, calculation, or mod label Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant