Try to account for number of children for induced eggs used

This commit is contained in:
lutepickle 2022-08-30 20:43:05 -07:00
parent bdfbcf1edf
commit c1d3f356f2

View file

@ -45,7 +45,7 @@ namespace RJW_Menstruation
// There's really no good way to estimate the number of times it's been induced, so this is all we can do // There's really no good way to estimate the number of times it's been induced, so this is all we can do
protected override int PawnEggsUsed(float pawnCyclesElapsed, float avglittersize) protected override int PawnEggsUsed(float pawnCyclesElapsed, float avglittersize)
{ {
return 0; return Mathf.CeilToInt((Pawn.relations?.ChildrenCount ?? 0) / Configurations.ImplantationChanceDefault);
} }
protected override void GoOvulatoryStage(bool climacteric) protected override void GoOvulatoryStage(bool climacteric)