Properly set the conditions to not go/stay in the infertile stage for InfertileAction and RecoverAction
This commit is contained in:
parent
4504d02245
commit
2bb0871919
|
@ -1713,7 +1713,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
if (curStageHrs >= currentIntervalHours)
|
||||
{
|
||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0 || Pawn.SterileGenes())
|
||||
if (ImplantChance <= 0.0f || EggHealth <= 0)
|
||||
{
|
||||
GoNextStage(Stage.Infertile);
|
||||
}
|
||||
|
@ -1735,7 +1735,7 @@ namespace RJW_Menstruation
|
|||
|
||||
protected virtual void InfertileAction()
|
||||
{
|
||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0 || Pawn.SterileGenes())
|
||||
if (ImplantChance <= 0 || EggHealth <= 0)
|
||||
{
|
||||
StayCurrentStageConst(Stage.Infertile);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue