Refactor luteal a smidge, apply cramp pain to seasonal breeders coming into season

This commit is contained in:
lutepickle 2022-09-10 09:06:55 -07:00
parent a0b2e224bc
commit 3a8c28ff16

View file

@ -1442,21 +1442,13 @@ namespace RJW_Menstruation
if (curStageHrs > currentIntervalHours)
{
eggs.Clear();
if (Props.bleedingIntervalDays == 0)
{
GoNextStage(Stage.Follicular);
}
else if (EggHealth < 1f / 4f || (EggHealth < 1f / 3f && Rand.Range(0.0f, 1.0f) < 0.3f)) //skips bleeding
if (EggHealth < 1f / 4f || (EggHealth < 1f / 3f && Rand.Range(0.0f, 1.0f) < 0.3f)) //skips bleeding
{
GoNextStage(Stage.Follicular);
}
else
{
GoNextStage(Stage.Bleeding);
if (crampPain >= 0.05f)
{
AddCrampPain();
}
GoFollicularOrBleeding();
}
}
else if (!eggs.NullOrEmpty())
@ -1674,6 +1666,10 @@ namespace RJW_Menstruation
else
{
GoNextStage(Stage.Bleeding);
if (crampPain >= 0.05f)
{
AddCrampPain();
}
}
}