Have the fertile end age for ovary power based off of a constant instead of RJW setttings
This commit is contained in:
parent
9eff6cc2cd
commit
2facc09926
|
@ -1222,7 +1222,7 @@ namespace RJW_Menstruation
|
|||
float avglittersize = AverageLitterSize();
|
||||
|
||||
float fertStartAge = Pawn.RaceProps.lifeStageAges?.Find(stage => stage.def.reproductive)?.minAge ?? 0.0f;
|
||||
float fertEndAge = Pawn.RaceProps.lifeExpectancy * (Pawn.IsAnimal() ? RJWPregnancySettings.fertility_endage_female_animal : RJWPregnancySettings.fertility_endage_female_humanlike);
|
||||
float fertEndAge = Pawn.RaceProps.lifeExpectancy * (Pawn.IsAnimal() ? 0.96f : 0.58f); // RJW default fertility_endage for animal and humanlike
|
||||
if (fertEndAge < fertStartAge) fertEndAge = fertStartAge;
|
||||
|
||||
float raceCyclesPerYear = RaceCyclesPerYear();
|
||||
|
|
Loading…
Reference in New Issue