mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Rename Young stage to Infertile, as it applies to all 0% ferility pawns
This commit is contained in:
parent
9a82b4ab84
commit
e697793eb1
1 changed files with 12 additions and 12 deletions
|
@ -87,7 +87,7 @@ namespace RJW_Menstruation
|
|||
Pregnant,
|
||||
Recover,
|
||||
None,
|
||||
Young,
|
||||
Infertile,
|
||||
Anestrus
|
||||
}
|
||||
|
||||
|
@ -347,7 +347,7 @@ namespace RJW_Menstruation
|
|||
case Stage.Recover:
|
||||
return Translations.Stage_Recover;
|
||||
case Stage.None:
|
||||
case Stage.Young:
|
||||
case Stage.Infertile:
|
||||
if (EggHealth <= 0f) return Translations.Stage_Menopause;
|
||||
else return Translations.Stage_None;
|
||||
case Stage.Anestrus:
|
||||
|
@ -377,7 +377,7 @@ namespace RJW_Menstruation
|
|||
case Stage.Recover:
|
||||
return Translations.Stage_Recover_Desc;
|
||||
case Stage.None:
|
||||
case Stage.Young:
|
||||
case Stage.Infertile:
|
||||
if (EggHealth <= 0f) return Translations.Stage_Menopause_Desc;
|
||||
else return Translations.Stage_None_Desc;
|
||||
case Stage.Anestrus:
|
||||
|
@ -623,7 +623,7 @@ namespace RJW_Menstruation
|
|||
|
||||
CumOut();
|
||||
|
||||
if (pregnancy == null && (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) || EggHealth <= 0) curStage = Stage.Young;
|
||||
if (pregnancy == null && (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) || EggHealth <= 0) curStage = Stage.Infertile;
|
||||
switch (curStage)
|
||||
{
|
||||
case Stage.Follicular:
|
||||
|
@ -646,8 +646,8 @@ namespace RJW_Menstruation
|
|||
break;
|
||||
case Stage.None:
|
||||
break;
|
||||
case Stage.Young:
|
||||
YoungAction();
|
||||
case Stage.Infertile:
|
||||
InfertileAction();
|
||||
break;
|
||||
case Stage.Anestrus:
|
||||
AnestrusAction();
|
||||
|
@ -1003,7 +1003,7 @@ namespace RJW_Menstruation
|
|||
if (cycleVariability < 0f) cycleVariability = MenstruationUtility.RandomVariabilityPercent();
|
||||
if (currentIntervalHours < 0)
|
||||
{
|
||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) curStage = Stage.Young;
|
||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) curStage = Stage.Infertile;
|
||||
else if (!IsBreedingSeason()) curStage = Stage.Anestrus;
|
||||
else curStage = RandomStage();
|
||||
if (curStage == Stage.Follicular)
|
||||
|
@ -1081,7 +1081,7 @@ namespace RJW_Menstruation
|
|||
if (Props.infertile) curStage = Stage.None;
|
||||
else if (ovarypower < 1)
|
||||
{
|
||||
curStage = Stage.Young;
|
||||
curStage = Stage.Infertile;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1415,7 +1415,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
eggs.Clear();
|
||||
ovarypower = 0;
|
||||
GoNextStage(Stage.Young);
|
||||
GoNextStage(Stage.Infertile);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1509,7 +1509,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0)
|
||||
{
|
||||
GoNextStage(Stage.Young);
|
||||
GoNextStage(Stage.Infertile);
|
||||
}
|
||||
else if (!IsBreedingSeason())
|
||||
{
|
||||
|
@ -1527,11 +1527,11 @@ namespace RJW_Menstruation
|
|||
}
|
||||
}
|
||||
|
||||
protected virtual void YoungAction()
|
||||
protected virtual void InfertileAction()
|
||||
{
|
||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0)
|
||||
{
|
||||
StayCurrentStageConst(Stage.Young);
|
||||
StayCurrentStageConst(Stage.Infertile);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue