Compare commits

...

3 Commits

Author SHA1 Message Date
lutepickle 41034ec872 Update changelog 2022-11-05 08:00:46 -07:00
lutepickle 225e1fe143 Add a sterile genes check in the infertile and recovery actions 2022-11-05 07:59:44 -07:00
lutepickle b9494a9acc Min is not max. Again 2022-11-05 07:57:44 -07:00
3 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -194,7 +194,7 @@ namespace RJW_Menstruation
{
get
{
if (!Configurations.EnableMenopause || Props.infertile) return Mathf.Min(1.0f, ovarypower / OvaryPowerThreshold);
if (!Configurations.EnableMenopause || Props.infertile) return Mathf.Max(1.0f, ovarypower / OvaryPowerThreshold);
else return ovarypower / OvaryPowerThreshold;
}
}
@ -1550,7 +1550,7 @@ namespace RJW_Menstruation
{
if (curStageHrs >= currentIntervalHours)
{
if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0)
if (Pawn.health.capacities.GetLevel(xxx.reproduction) == 0 || EggHealth <= 0 || Pawn.SterileGenes())
{
GoNextStage(Stage.Infertile);
}
@ -1572,7 +1572,7 @@ namespace RJW_Menstruation
protected virtual void InfertileAction()
{
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0)
if (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0 || Pawn.SterileGenes())
{
StayCurrentStageConst(Stage.Infertile);
}

View File

@ -5,6 +5,7 @@ Version 1.0.8.1
- Pawns that are genetically sterile will no longer produce fertile cum, nor have a menstrual cycle.
- Biotech IUDs will now reduce pregnancy chances the same as an RJW IUD. Using both will not stack.
- A biotech pregnancy will pause before going into labor if another womb already is in labor.
- Fix disabling menopause not actually disabling menopause.
- Fix errors in womb dialog for Biotech pregnancies with null father.
Version 1.0.8.0