Induce lactation

This commit is contained in:
c0ffee12 2021-07-29 18:33:08 -07:00
parent 616d83ba08
commit f21812a3eb
11 changed files with 382 additions and 0 deletions

View file

@ -38,5 +38,17 @@ namespace CRIALactation
lactating.Severity = Rand.Value;
p.health.AddHediff(lactating, Genital_Helper.get_breastsBPR(p));
}
public static bool isMassageable(Pawn p)
{
CompInduceLactation c = p.TryGetComp<CompInduceLactation>();
if (c != null && c.isActive && c.CanMassage)
{
return true;
}
return false;
}
}
}