Don't run the cycle for pawns that are genetically sterile

This commit is contained in:
lutepickle 2022-11-04 10:51:01 -07:00
parent ba6f1886d1
commit 742381dd54
2 changed files with 2 additions and 1 deletions

View File

@ -639,7 +639,7 @@ namespace RJW_Menstruation
CumOut();
if (pregnancy == null && (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) || EggHealth <= 0) curStage = Stage.Infertile;
if (pregnancy == null && (Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0 || EggHealth <= 0 || Pawn.SterileGenes())) curStage = Stage.Infertile;
switch (curStage)
{
case Stage.Follicular:

View File

@ -2,6 +2,7 @@ Version 1.0.8.1
- Added the option for humans to start Biotech pregnancies if the DLC is enabled. If set, non-humans will use the old multiple pregnancy instead.
- Babies conceived through the multiple pregnancy option will now properly inherit xenotypes.
- Properly track biotech pregnancy through labor.
- Pawns that are genetically sterile will no longer produce fertile cum, nor have a menstrual cycle.
- A biotech pregnancy will pause before going into labor if another womb already is in labor.
Version 1.0.8.0