1.4 updates

This commit is contained in:
c0ffee 2022-10-25 13:46:15 -07:00
parent cd8fe17713
commit 6cdd801207
190 changed files with 12627 additions and 43 deletions

View file

@ -13,9 +13,11 @@ namespace CRIALactation
public class PreceptComp_Lactation : PreceptComp
{
public override void Notify_MemberGenerated(Pawn pawn, Precept precept)
public override void Notify_MemberGenerated(Pawn pawn, Precept precept, bool newborn)
{
if (newborn) return;
if((precept.def == PreceptDefOf_Lactation.Lactating_Essential
|| precept.def == PreceptDefOf_Lactation.Lactating_MandatoryHucow)
&& LactationUtility.HasMilkableBreasts(pawn))