diff --git a/1.4/Assemblies/RJW_Menstruation.dll b/1.4/Assemblies/RJW_Menstruation.dll index a0e592c..bc84c90 100644 Binary files a/1.4/Assemblies/RJW_Menstruation.dll and b/1.4/Assemblies/RJW_Menstruation.dll differ diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs index 0641e24..c4fa06f 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs @@ -160,6 +160,21 @@ namespace RJW_Menstruation if (xxx.is_human(mother)) TaleRecorder.RecordTale(TaleDefOf.GaveBirth, new object[] { mother, baby }); + if (ModsConfig.BiotechActive) + { + // Ugly, but it'll have to do + OutcomeChance bestOutcome = RitualOutcomeEffectDefOf.ChildBirth.outcomeChances.Find(chance => chance.positivityIndex == 1); + + string label = bestOutcome.label; + string description = bestOutcome.description.Formatted(mother.Named("MOTHER")); + + ChoiceLetter_BabyBirth choiceLetter_BabyBirth = (ChoiceLetter_BabyBirth)LetterMaker.MakeLetter( + label, description, LetterDefOf.BabyBirth, baby + ); + choiceLetter_BabyBirth.Start(); + Find.LetterStack.ReceiveLetter(choiceLetter_BabyBirth); + } + PostBirth(mother, father, baby); } diff --git a/changelogs.txt b/changelogs.txt index 1f1c46f..e67ba4d 100644 --- a/changelogs.txt +++ b/changelogs.txt @@ -1,5 +1,6 @@ Version 1.0.8.5 - Added biosculptor recipe to restore 1 year's worth of eggs. + - Babies born from multiple pregnancy will properly produce the prompt to name them. Version 1.0.8.4 - Fix Biotech xenotype inheritance for single-child pregnancies.