Skip to content

Conversation

@NicksWorld
Copy link
Contributor

Geld/ungeld now properly update unit.body.components.body_part_status[?].gelded.

Through testing I have discovered the following behavior guiding the implementation:

  • On load the body_part_status[?].gelded flag will cause unit.flags3.gelded to be updated.
  • Gelding a unit with a histfig naturally does not cause any wounds to be added to the histfig.

Ungelding will remove all gelding wounds and flags to avoid any conflicts caused by old versions marking all body parts from wounds gelded.

Fixes DFHack/dfhack#4988

@myk002
Copy link
Member

myk002 commented Nov 28, 2024

At your convenience, please consider adding your name to our Authors file: https://github.com/DFHack/dfhack/blob/develop/docs/about/Authors.rst

@myk002 myk002 merged commit 196f017 into DFHack:master Nov 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

geld and ungeld do not correctly mark histfig

2 participants