Set newly initialized (e.g. newborn) pawns' stage to Young if they have 0 fertility
This commit is contained in:
parent
3ae66bd4a6
commit
38b16c75c3
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 New Issue