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 anatomy processing and failing tests #123

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

henges
Copy link

@henges henges commented Jan 5, 2025

Hi! I'm castorandpollux on the wiki/discord. I noticed that Irudad has a missing anatomy on the wiki currently. It seems to be due to a comment before the declaration of his anatomy in Bodies.xml: <!-- NPC-specific -->. This PR checks for comment nodes under <anatomies> and skips them.

Also, a few of the tests weren't passing, so I took the liberty of fixing them:

  • test_chargeused: geomagnetic disk now uses 100 charge instead of 400.
  • test_displayname: Irudad's title of 'Elder' is now stored in an 'Honorifics' part that currently isn't parsed by hagadias, and which is manually overridden in qud-wiki. This change gets the test passing but I recognise it's not quite in the spirit of the test... happy to change this one.

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