Fix danger day and estrus considering eggs to last 24x times as long as they should

This commit is contained in:
lutepickle 2023-03-05 21:20:16 -08:00
parent 842f6ceec1
commit 1bc5b45669
4 changed files with 6 additions and 5 deletions

Binary file not shown.

View File

@ -75,7 +75,7 @@ namespace RJW_Menstruation
case Stage.Ovulatory:
return true;
case Stage.Luteal:
return IsEggExist && curStageHrs < EggLifespanHours * 24;
return IsEggExist && curStageHrs < EggLifespanHours;
default:
return false;
}
@ -93,7 +93,7 @@ namespace RJW_Menstruation
case Stage.Ovulatory:
return true;
case Stage.Luteal:
return IsEggExist && curStageHrs < EggLifespanHours * 24;
return IsEggExist && curStageHrs < EggLifespanHours;
default:
return false;
}

View File

@ -498,7 +498,7 @@ namespace RJW_Menstruation
case Stage.Ovulatory:
return true;
case Stage.Luteal:
return curStageHrs < EggLifespanHours * 24;
return curStageHrs < EggLifespanHours;
default:
return false;
}
@ -1232,7 +1232,7 @@ namespace RJW_Menstruation
case Stage.Ovulatory:
return true;
case Stage.Luteal:
return curStageHrs < EggLifespanHours * 24;
return curStageHrs < EggLifespanHours;
default:
return false;
}
@ -1563,7 +1563,7 @@ namespace RJW_Menstruation
ovulated = (int)eggnum + eggstack;
for (int i = 0; i < ovulated; i++)
eggs.Add(new Egg((int)(EggLifespanHours * 24 / CycleFactor)));
eggs.Add(new Egg((int)(EggLifespanHours / CycleFactor)));
ovarypower -= ovulated;
eggstack = 0;

View File

@ -1,5 +1,6 @@
Version 1.0.8.7
- Fix missing texture when using Milkable Colonists.
- Fix estrus lasting far longer than intended.
- Canine vaginas now use the new periodic ovulator cycle.
- Hovering over a vagina hediff will show the current state in the tooltip.