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
1 changed files with 2 additions and 5 deletions

View File

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