mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Simplify periodic ovulator's bleeding action
This commit is contained in:
parent
0999063728
commit
802fbbe3ca
2 changed files with 2 additions and 5 deletions
Binary file not shown.
|
@ -79,15 +79,12 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
protected override void BleedingAction()
|
protected override void BleedingAction()
|
||||||
{
|
{
|
||||||
if (curStageTicks >= currentIntervalTicks)
|
base.BleedingAction();
|
||||||
|
if (curStage != Stage.Bleeding)
|
||||||
{
|
{
|
||||||
Hediff hediff = Pawn.health.hediffSet.GetFirstHediffOfDef(VariousDefOf.Hediff_MenstrualCramp);
|
|
||||||
if (hediff != null && !Pawn.GetMenstruationComps().Any(comp => comp != this && comp.curStage == Stage.Bleeding)) Pawn.health.RemoveHediff(hediff);
|
|
||||||
estrusflag = false;
|
estrusflag = false;
|
||||||
GoNextStage(Stage.Anestrus);
|
GoNextStage(Stage.Anestrus);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
else base.BleedingAction();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void PregnantAction()
|
protected override void PregnantAction()
|
||||||
|
|
Loading…
Reference in a new issue