Implant at the right time for vaginas with odd luteal intervals
This commit is contained in:
parent
ea7b8e03ee
commit
6143fb41fb
Binary file not shown.
|
@ -64,8 +64,8 @@ namespace RJW_Menstruation
|
|||
//const int ovarypowerthreshold = 72;
|
||||
|
||||
const int tickInterval = GenDate.TicksPerHour;
|
||||
const int maxImplantDelayDays = 30;
|
||||
const int minImplantAgeHours = 72;
|
||||
const int maxImplantDelayHours = 30 * 24;
|
||||
const int minImplantAgeHours = 3 * 24;
|
||||
|
||||
public CompProperties_Menstruation Props;
|
||||
public Stage curStage = Stage.Follicular;
|
||||
|
@ -1109,7 +1109,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
if (!egg.fertilized ||
|
||||
egg.fertstage < minImplantAgeHours ||
|
||||
egg.position < Math.Min(Props.lutealIntervalDays / 2, maxImplantDelayDays) * 24)
|
||||
egg.position < Math.Min(Props.lutealIntervalDays * 24 / 2, maxImplantDelayHours))
|
||||
continue;
|
||||
else if (egg.fertilizer == null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue