Fix HAR compatibility, copy all HAR properties for enzygotic siblings.

This commit is contained in:
lutepickle 2022-08-11 18:43:12 -07:00
parent 624ae1ce75
commit d1ceebb4e7
7 changed files with 39 additions and 20 deletions

View file

@ -1,9 +1,10 @@
Version 1.0.7.1
- Null reference error fix for multiple wombs when one is pregnant.
- Nipple size/transition system rewritten to be simpler under the hood. Should work with existing saves, but you might find sizes to be different, especially for very large or very small breasts.
- Identical twins conceived after this update will have identical sex part sizes, properties, etc. upon being born.
- Replaced HugsLib-based scheduler with normal ticking. This should reduce some 'phantom cycle' bugs.
- Redone calculation to determine low eggs remaining. This should cause climacteric to be applied at a more appropriate time in the pawn's life, especially for those with very long cycles.
- Identical twins conceived after this update will have identical sex part sizes, properties, etc. upon being born.
- Identical twins of HAR races will have identical coloration, part variations, and masking.
- For modders:
- The function Hediff_MultiplePregnancy.ProcessIdenticalSibling is called on every identical sibling when born except the first. Any race-specfic genetic properties can be patched in there.
- Any mods that add comps to RJW parts should copy what they need to on a postfix to Hediff_MultiplePregnancy.CopyBodyPartProperties, e.g. how menstruation itself does in that function.