Have the fertile end age for ovary power based off of a constant instead of RJW setttings

This commit is contained in:
lutepickle 2024-03-16 21:59:58 -07:00
parent 9eff6cc2cd
commit 2facc09926
1 changed files with 1 additions and 1 deletions

View File

@ -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();