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 Eisek (and probably other NPCs) showing up as winged dragon-boy #1839

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

Conversation

Stadler76
Copy link
Contributor

@Stadler76 Stadler76 commented Dec 10, 2024

  • What is the purpose of the pull request?
    Fixed Eisek (and probably other named NPCs) showing up as 'The winged dragon-boy'.

  • Give a brief description of what you changed or added.
    Eisek (and probably other NPCs) showed up as 'The winged dragon-boy' because getFleshSubspecies() always returned 'HUMAN' for him for whatever reason. I've adjusted the code to only check for getFleshsubspecies() if the BodyMaterial is not flesh and for getSubspecies() otherwise.

    Did a few tests with Eisek, my occupants and some slimes including the ones in the Slime Queen's Tower and everything works as intended so far.

  • Are any new graphical assets required?
    No

  • Has this change been tested? If so, mention the version number that the test was based on.
    Yes, 0.4.10.7 Alpha

  • So we have a better idea of who you are, what is your Discord Handle?
    Stadler#3007

Eisek (and probably other NPCs) showed up as 'The winged dragon-boy' because getFleshSubspecies() always returned 'HUMAN' for him for whatever reason.
I've adjusted the code to only check for getFleshsubspecies() if the BodyMaterial is not flesh and for getSubspecies() otherwise.

Did a few tests with Eisek, my occupants and some slimes including the ones in the Slime Queen's Tower and everything works as intended so far.
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