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,
|
Pregnant,
|
||||||
Recover,
|
Recover,
|
||||||
None,
|
None,
|
||||||
Young,
|
Infertile,
|
||||||
Anestrus
|
Anestrus
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@ namespace RJW_Menstruation
|
||||||
case Stage.Recover:
|
case Stage.Recover:
|
||||||
return Translations.Stage_Recover;
|
return Translations.Stage_Recover;
|
||||||
case Stage.None:
|
case Stage.None:
|
||||||
case Stage.Young:
|
case Stage.Infertile:
|
||||||
if (EggHealth <= 0f) return Translations.Stage_Menopause;
|
if (EggHealth <= 0f) return Translations.Stage_Menopause;
|
||||||
else return Translations.Stage_None;
|
else return Translations.Stage_None;
|
||||||
case Stage.Anestrus:
|
case Stage.Anestrus:
|
||||||
|
@ -377,7 +377,7 @@ namespace RJW_Menstruation
|
||||||
case Stage.Recover:
|
case Stage.Recover:
|
||||||
return Translations.Stage_Recover_Desc;
|
return Translations.Stage_Recover_Desc;
|
||||||
case Stage.None:
|
case Stage.None:
|
||||||
case Stage.Young:
|
case Stage.Infertile:
|
||||||
if (EggHealth <= 0f) return Translations.Stage_Menopause_Desc;
|
if (EggHealth <= 0f) return Translations.Stage_Menopause_Desc;
|
||||||
else return Translations.Stage_None_Desc;
|
else return Translations.Stage_None_Desc;
|
||||||
case Stage.Anestrus:
|
case Stage.Anestrus:
|
||||||
|
@ -623,7 +623,7 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
CumOut();
|
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)
|
switch (curStage)
|
||||||
{
|
{
|
||||||
case Stage.Follicular:
|
case Stage.Follicular:
|
||||||
|
@ -646,8 +646,8 @@ namespace RJW_Menstruation
|
||||||
break;
|
break;
|
||||||
case Stage.None:
|
case Stage.None:
|
||||||
break;
|
break;
|
||||||
case Stage.Young:
|
case Stage.Infertile:
|
||||||
YoungAction();
|
InfertileAction();
|
||||||
break;
|
break;
|
||||||
case Stage.Anestrus:
|
case Stage.Anestrus:
|
||||||
AnestrusAction();
|
AnestrusAction();
|
||||||
|
@ -1003,7 +1003,7 @@ namespace RJW_Menstruation
|
||||||
if (cycleVariability < 0f) cycleVariability = MenstruationUtility.RandomVariabilityPercent();
|
if (cycleVariability < 0f) cycleVariability = MenstruationUtility.RandomVariabilityPercent();
|
||||||
if (currentIntervalHours < 0)
|
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 if (!IsBreedingSeason()) curStage = Stage.Anestrus;
|
||||||
else curStage = RandomStage();
|
else curStage = RandomStage();
|
||||||
if (curStage == Stage.Follicular)
|
if (curStage == Stage.Follicular)
|
||||||
|
@ -1081,7 +1081,7 @@ namespace RJW_Menstruation
|
||||||
if (Props.infertile) curStage = Stage.None;
|
if (Props.infertile) curStage = Stage.None;
|
||||||
else if (ovarypower < 1)
|
else if (ovarypower < 1)
|
||||||
{
|
{
|
||||||
curStage = Stage.Young;
|
curStage = Stage.Infertile;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1415,7 +1415,7 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
eggs.Clear();
|
eggs.Clear();
|
||||||
ovarypower = 0;
|
ovarypower = 0;
|
||||||
GoNextStage(Stage.Young);
|
GoNextStage(Stage.Infertile);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1509,7 +1509,7 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0)
|
if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0)
|
||||||
{
|
{
|
||||||
GoNextStage(Stage.Young);
|
GoNextStage(Stage.Infertile);
|
||||||
}
|
}
|
||||||
else if (!IsBreedingSeason())
|
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)
|
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0)
|
||||||
{
|
{
|
||||||
StayCurrentStageConst(Stage.Young);
|
StayCurrentStageConst(Stage.Infertile);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue