mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Reset the baby name deadline at birth
This commit is contained in:
parent
91142d640f
commit
09f9438bcc
4 changed files with 3 additions and 0 deletions
Binary file not shown.
|
@ -166,6 +166,7 @@ namespace RJW_Menstruation
|
||||||
if (baby == null) return PawnGenerator.GeneratePawn(request); // Shouldn't happen
|
if (baby == null) return PawnGenerator.GeneratePawn(request); // Shouldn't happen
|
||||||
baby.ageTracker.AgeBiologicalTicks = 0;
|
baby.ageTracker.AgeBiologicalTicks = 0;
|
||||||
baby.ageTracker.AgeChronologicalTicks = 0;
|
baby.ageTracker.AgeChronologicalTicks = 0;
|
||||||
|
baby.babyNamingDeadline = Find.TickManager.TicksGame + GenDate.TicksPerDay;
|
||||||
if (request.ForceDead) baby.Kill(null, null);
|
if (request.ForceDead) baby.Kill(null, null);
|
||||||
return baby;
|
return baby;
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,6 +127,7 @@ namespace RJW_Menstruation
|
||||||
string label = bestOutcome.label;
|
string label = bestOutcome.label;
|
||||||
string description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
|
string description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
|
||||||
|
|
||||||
|
baby.babyNamingDeadline = Find.TickManager.TicksGame + GenDate.TicksPerDay;
|
||||||
ChoiceLetter_BabyBirth choiceLetter_BabyBirth = (ChoiceLetter_BabyBirth)LetterMaker.MakeLetter(
|
ChoiceLetter_BabyBirth choiceLetter_BabyBirth = (ChoiceLetter_BabyBirth)LetterMaker.MakeLetter(
|
||||||
label, description, LetterDefOf.BabyBirth, baby
|
label, description, LetterDefOf.BabyBirth, baby
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Version 1.0.8.6
|
Version 1.0.8.6
|
||||||
- Updated Traditional Chinese translation by Hydrogen.
|
- Updated Traditional Chinese translation by Hydrogen.
|
||||||
- Fix error when trying to terminate a non-Biotech pregnancy.
|
- Fix error when trying to terminate a non-Biotech pregnancy.
|
||||||
|
- Properly give the opportunity to name a newborn with Biotech and multiple pregnancy.
|
||||||
- Added several menstruation-related genes.
|
- Added several menstruation-related genes.
|
||||||
- Added experimental support for twins and hybrids with Biotech pregnancies, disabled by default.
|
- Added experimental support for twins and hybrids with Biotech pregnancies, disabled by default.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue