mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Have humans lactate on birth with biotech
This commit is contained in:
parent
592cb361ad
commit
6e6579f1ff
3 changed files with 4 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
@ -72,7 +72,10 @@ namespace RJW_Menstruation
|
||||||
pawn.health.RemoveHediff(this);
|
pawn.health.RemoveHediff(this);
|
||||||
HediffComp_Menstruation comp = this.GetMenstruationCompFromPregnancy();
|
HediffComp_Menstruation comp = this.GetMenstruationCompFromPregnancy();
|
||||||
if(comp != null) comp.Pregnancy = null;
|
if(comp != null) comp.Pregnancy = null;
|
||||||
pawn.GetBreastComp()?.GaveBirth();
|
HediffComp_Breast breastcomp = pawn.GetBreastComp();
|
||||||
|
if (ModsConfig.BiotechActive && xxx.is_human(pawn) && breastcomp != null)
|
||||||
|
pawn.health.AddHediff(HediffDefOf.Lactating);
|
||||||
|
breastcomp?.GaveBirth();
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetBabyInfo()
|
public string GetBabyInfo()
|
||||||
|
|
Loading…
Reference in a new issue