mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Display the inbred baby message for menstruation pregnancies
This commit is contained in:
parent
42a49cc0c9
commit
1cb1b5dcd6
1 changed files with 3 additions and 1 deletions
|
@ -123,7 +123,9 @@ namespace RJW_Menstruation
|
||||||
RitualOutcomePossibility bestOutcome = RitualOutcomeEffectDefOf.ChildBirth.BestOutcome;
|
RitualOutcomePossibility bestOutcome = RitualOutcomeEffectDefOf.ChildBirth.BestOutcome;
|
||||||
|
|
||||||
string label = bestOutcome.label;
|
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;
|
baby.babyNamingDeadline = Find.TickManager.TicksGame + GenDate.TicksPerDay;
|
||||||
ChoiceLetter_BabyBirth choiceLetter_BabyBirth = (ChoiceLetter_BabyBirth)LetterMaker.MakeLetter(
|
ChoiceLetter_BabyBirth choiceLetter_BabyBirth = (ChoiceLetter_BabyBirth)LetterMaker.MakeLetter(
|
||||||
|
|
Loading…
Reference in a new issue