Skip to content

Fix variant text ordering for The Adorned and Yoke of Suffering#1783

Merged
Wires77 merged 2 commits intoPathOfBuildingCommunity:devfrom
poikende:claude/fix-pob-issue-1774-gsLth
Mar 26, 2026
Merged

Fix variant text ordering for The Adorned and Yoke of Suffering#1783
Wires77 merged 2 commits intoPathOfBuildingCommunity:devfrom
poikende:claude/fix-pob-issue-1774-gsLth

Conversation

@poikende
Copy link
Copy Markdown
Contributor

Multi-line mod continuation lines were interleaved between variants, causing duplicate/missing lines in the variant display. Group each variant's continuation lines together with their first line.

Fixes #1774

Fixes # .

Description of the problem being solved:

The Adorned and Yoke of Suffering have multi-line mods where the continuation lines were interleaved between variants instead of grouped with their respective variant. This caused duplicate lines to appear for one variant and missing lines for the other in the item display.

Steps taken to verify a working solution:

  • Loaded the items in PoB and switched between variants to confirm correct text displays for each

Before screenshot:

image image

After screenshot:

image image

Multi-line mod continuation lines were interleaved between variants,
causing duplicate/missing lines in the variant display. Group each
variant's continuation lines together with their first line.

Fixes PathOfBuildingCommunity#1774
Copy link
Copy Markdown
Contributor

@Blitz54 Blitz54 left a comment

Choose a reason for hiding this comment

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

These changes will be overwritten any time we run the exporter. The proper way to fix this is in the uModsToText script. When I looked at it last, the issue is it sorts mod lines by the stat order, but for multiline mods on variants, we need to keep them bundled together.

@Wires77
Copy link
Copy Markdown
Member

Wires77 commented Mar 26, 2026

Blitz is right, but thanks for calling this out. I updated the script in your PR to properly do this for all uniques, even ones we don't parse properly.

@Wires77 Wires77 dismissed Blitz54’s stale review March 26, 2026 07:21

Pushed the script change to his PR

@Wires77 Wires77 merged commit 5c15126 into PathOfBuildingCommunity:dev Mar 26, 2026
@poikende
Copy link
Copy Markdown
Contributor Author

Sorry, that was my first open source pull request.
Makes sense that this issue affected more than 2 items and could be a sign of something broader. Nice of you to look into it, thanks.

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.

The Adorned variant text is broken

4 participants