Display the inbred baby message for menstruation pregnancies

This commit is contained in:
lutepickle 2024-05-05 15:29:01 -07:00
parent 42a49cc0c9
commit 1cb1b5dcd6
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ namespace RJW_Menstruation
RitualOutcomePossibility bestOutcome = RitualOutcomeEffectDefOf.ChildBirth.BestOutcome;
string label = bestOutcome.label;
string description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
TaggedString description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
if (baby.genes?.HasGene(GeneDefOf.Inbred) ?? false)
description += "\n\n" + "InbredBabyBorn".Translate();
baby.babyNamingDeadline = Find.TickManager.TicksGame + GenDate.TicksPerDay;
ChoiceLetter_BabyBirth choiceLetter_BabyBirth = (ChoiceLetter_BabyBirth)LetterMaker.MakeLetter(