mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -1222,7 +1222,7 @@ namespace RJW_Menstruation
|
||||||
float avglittersize = AverageLitterSize();
|
float avglittersize = AverageLitterSize();
|
||||||
|
|
||||||
float fertStartAge = Pawn.RaceProps.lifeStageAges?.Find(stage => stage.def.reproductive)?.minAge ?? 0.0f;
|
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;
|
if (fertEndAge < fertStartAge) fertEndAge = fertStartAge;
|
||||||
|
|
||||||
float raceCyclesPerYear = RaceCyclesPerYear();
|
float raceCyclesPerYear = RaceCyclesPerYear();
|
||||||
|
|
Loading…
Reference in a new issue