Skip to content

fix(steam): stop attributing advertised mods' IDs to an item - #38

Merged
kldzj merged 1 commit into
mainfrom
fix/scope-mod-ids-to-workshop-id
Jul 7, 2026
Merged

fix(steam): stop attributing advertised mods' IDs to an item#38
kldzj merged 1 commit into
mainfrom
fix/scope-mod-ids-to-workshop-id

Conversation

@kldzj

@kldzj kldzj commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Parse() scraped every Mod ID: / Map Folder: line, so mods that
advertise others by pasting their PZ footer leaked foreign IDs:

❯ pzmod mods show 3042138819
  mod ids: TrueMusicJukebox, FunctionalAppliances2   # a different mod

Now each ID is attributed to the nearest Workshop ID: line (the pair
appears in both orders in the wild) and dropped only when that ID is
foreign. Descriptions without the item's own Workshop ID keep everything.

Descriptions that advertise other mods by pasting their PZ footer
(Workshop ID + Mod ID) leaked those IDs into the item, e.g. 3042138819
reported "TrueMusicJukebox, FunctionalAppliances2".

Parse() now attributes each Mod ID / Map Folder to the nearest
Workshop ID line (either order) and drops it only when that ID is
foreign. Descriptions without the item's own Workshop ID are unchanged.
@kldzj
kldzj merged commit 2a1bbf9 into main Jul 7, 2026
1 check passed
@kldzj
kldzj deleted the fix/scope-mod-ids-to-workshop-id branch July 7, 2026 17: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.

1 participant