Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix first explicit mod missing when it has no parsing #8576

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Mar 14, 2025

Closes #8408 and likely other cases of such problems

Description of the problem being solved:

The item parsing logic in WIKI mode seems to rely on finding a mod that produces a modList to set the foundExplicit variable to true which then allows mods that do not produce a modList to be added to lineList. This causes issues with items such as Dialla's Malefaction where the first explicit line does not have any parsing which causes it to not be added to linesList. Interestingly enough other mods which are parsed piece-wise work fine here as they produce and empty modList with the extras parameter.

This pr attempts to fix the problem while being the least invasive and lowering the chance of some parsing edge case failing. There could totally be a much nicer solution to this problem.

The item parsing logic in WIKI mode seems to rely on finding a mod that
produces a modList to set the foundExplicit variable to true which then
allows mods that do not produce a modList to be added to lineList. This
causes issues with items such as Dialla's Malefaction where the first
explicit line does not have any parsing which causes it to not be added
to linesList. Interestingly enough other mods wihch are parsed
piece-wise work fine here as they produce and empty modList with the
extras paramter.
@Paliak Paliak added the bug: accuracy Wording differences label Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: accuracy Wording differences
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dialla's Malefaction [missing mod description]
1 participant