mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Implant at the right time for vaginas with odd luteal intervals
This commit is contained in:
parent
ea7b8e03ee
commit
6143fb41fb
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -64,8 +64,8 @@ namespace RJW_Menstruation
|
||||||
//const int ovarypowerthreshold = 72;
|
//const int ovarypowerthreshold = 72;
|
||||||
|
|
||||||
const int tickInterval = GenDate.TicksPerHour;
|
const int tickInterval = GenDate.TicksPerHour;
|
||||||
const int maxImplantDelayDays = 30;
|
const int maxImplantDelayHours = 30 * 24;
|
||||||
const int minImplantAgeHours = 72;
|
const int minImplantAgeHours = 3 * 24;
|
||||||
|
|
||||||
public CompProperties_Menstruation Props;
|
public CompProperties_Menstruation Props;
|
||||||
public Stage curStage = Stage.Follicular;
|
public Stage curStage = Stage.Follicular;
|
||||||
|
@ -1109,7 +1109,7 @@ namespace RJW_Menstruation
|
||||||
{
|
{
|
||||||
if (!egg.fertilized ||
|
if (!egg.fertilized ||
|
||||||
egg.fertstage < minImplantAgeHours ||
|
egg.fertstage < minImplantAgeHours ||
|
||||||
egg.position < Math.Min(Props.lutealIntervalDays / 2, maxImplantDelayDays) * 24)
|
egg.position < Math.Min(Props.lutealIntervalDays * 24 / 2, maxImplantDelayHours))
|
||||||
continue;
|
continue;
|
||||||
else if (egg.fertilizer == null)
|
else if (egg.fertilizer == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue