diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs index df87497..f645ff4 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs @@ -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 {