Keep the breasts full size for a while after a birth again

This commit is contained in:
lutepickle 2022-10-05 07:49:01 -07:00
parent 1d6dc1fc82
commit 034bf4d75a
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -337,6 +337,11 @@ namespace RJW_Menstruation
} }
} }
public void GaveBirth()
{
ageOfLastBirth = Pawn.ageTracker.AgeBiologicalTicks;
}
public void AdjustNippleProgress(float amount) public void AdjustNippleProgress(float amount)
{ {
nippleProgress = Mathf.Clamp01(nippleProgress + amount); nippleProgress = Mathf.Clamp01(nippleProgress + amount);

View File

@ -72,6 +72,7 @@ namespace RJW_Menstruation
pawn.health.RemoveHediff(this); pawn.health.RemoveHediff(this);
HediffComp_Menstruation comp = this.GetMenstruationComp(); HediffComp_Menstruation comp = this.GetMenstruationComp();
if(comp != null) comp.Pregnancy = null; if(comp != null) comp.Pregnancy = null;
pawn.GetBreastComp()?.GaveBirth();
} }
public string GetBabyInfo() public string GetBabyInfo()