mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Set newly initialized (e.g. newborn) pawns' stage to Young if they have 0 fertility
This commit is contained in:
parent
3ae66bd4a6
commit
38b16c75c3
2 changed files with 2 additions and 1 deletions
Binary file not shown.
|
@ -863,7 +863,8 @@ namespace RJW_Menstruation
|
|||
if (follicularIntervalhours < 0)
|
||||
{
|
||||
follicularIntervalhours = PeriodRandomizer(Props.folicularIntervalDays * 24, Props.deviationFactor);
|
||||
curStage = RandomStage();
|
||||
if (parent.pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) curStage = Stage.Young;
|
||||
else curStage = RandomStage();
|
||||
}
|
||||
|
||||
if (lutealIntervalhours < 0) lutealIntervalhours = PeriodRandomizer(Props.lutealIntervalDays * 24, Props.deviationFactor);
|
||||
|
|
Loading…
Reference in a new issue