Have the aftersim sexneed incrementer base off the number of vaginas

This commit is contained in:
lutepickle 2022-09-05 17:55:11 -07:00
parent 3512f55363
commit 450d7da36c

View file

@ -1100,13 +1100,10 @@ namespace RJW_Menstruation
protected void AfterSimulator() protected void AfterSimulator()
{ {
if (Configurations.EnableMenopause && ovarypower < OvaryPowerThreshold) if (EggHealth < 1f)
{ {
if (sexNeed == null) sexNeed = Pawn.needs.TryGetNeed(VariousDefOf.SexNeed); if (sexNeed == null) sexNeed = Pawn.needs.TryGetNeed(VariousDefOf.SexNeed);
else if (sexNeed?.CurLevel < 0.5) sexNeed.CurLevel += 0.01f / Pawn.GetMenstruationComps().Count();
{
if (sexNeed.CurLevel < 0.5) sexNeed.CurLevel += 0.01f;
}
} }
} }