Rearrange LutealAction to let the stage end with fertilized eggs

This commit is contained in:
lutepickle 2022-07-10 08:05:08 -07:00
parent 9f66a3ea52
commit 1133255b0a
2 changed files with 25 additions and 24 deletions

Binary file not shown.

View File

@ -1392,30 +1392,7 @@ namespace RJW_Menstruation
RemoveClimactericEffect();
StayCurrentStage();
}
else if (!eggs.NullOrEmpty())
{
FertilizationCheck();
EggDecay();
if (Implant())
{
if (Breast != null)
{
Breast.PregnancyTransition();
}
GoNextStage(Stage.Pregnant);
}
else
{
curStageHrs += Configurations.CycleAcceleration;
StayCurrentStage();
}
}
else if (curStageHrs <= currentIntervalHours)
{
curStageHrs += Configurations.CycleAcceleration;
StayCurrentStage();
}
else
else if (curStageHrs > currentIntervalHours)
{
eggs.Clear();
if (Props.bleedingIntervalDays == 0)
@ -1435,6 +1412,30 @@ namespace RJW_Menstruation
GoNextStage(climacteric ? Stage.ClimactericBleeding : Stage.Bleeding);
}
}
else if (!eggs.NullOrEmpty())
{
FertilizationCheck();
EggDecay();
if (Implant())
{
if (Breast != null)
{
Breast.PregnancyTransition();
}
GoNextStage(Stage.Pregnant);
}
else
{
curStageHrs += Configurations.CycleAcceleration;
StayCurrentStage();
}
}
else
{
curStageHrs += Configurations.CycleAcceleration;
StayCurrentStage();
}
}
protected virtual void BleedingAction(bool climacteric)