mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Proper rewrite of induced ovulator dangerday
This commit is contained in:
parent
92d732992a
commit
a7968b530d
3 changed files with 8 additions and 3 deletions
Binary file not shown.
|
@ -57,9 +57,13 @@ namespace RJW_Menstruation
|
||||||
if (parent.pawn.health.hediffSet.HasHediff(VariousDefOf.RJW_IUD)) return false;
|
if (parent.pawn.health.hediffSet.HasHediff(VariousDefOf.RJW_IUD)) return false;
|
||||||
|
|
||||||
if (curStage == Stage.Follicular || curStage == Stage.ClimactericFollicular) return true;
|
if (curStage == Stage.Follicular || curStage == Stage.ClimactericFollicular) return true;
|
||||||
else if ((curStage == Stage.Luteal || curStage == Stage.ClimactericLuteal) && !IsEggExist) return false;
|
else if (curStage == Stage.Luteal || curStage == Stage.ClimactericLuteal)
|
||||||
|
{
|
||||||
return base.IsDangerDay;
|
if (!IsEggExist) return false;
|
||||||
|
else return curStageHrs < Props.eggLifespanDays * 24;
|
||||||
|
}
|
||||||
|
else if (curStage == Stage.Ovulatory) return true;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -834,6 +834,7 @@ namespace RJW_Menstruation
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Debug: Remove all cums from a womb
|
/// Debug: Remove all cums from a womb
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
public void RemoveAllCums()
|
public void RemoveAllCums()
|
||||||
{
|
{
|
||||||
cums.Clear();
|
cums.Clear();
|
||||||
|
|
Loading…
Reference in a new issue