hucow required precept

This commit is contained in:
c0ffee 2021-11-17 20:15:49 -08:00
parent 6731b17940
commit 1d846d98a6
6 changed files with 165 additions and 5 deletions

View file

@ -16,8 +16,9 @@ namespace CRIALactation
public override void Notify_MemberGenerated(Pawn pawn, Precept precept)
{
if(precept.def == PreceptDefOf_Lactation.Lactating_Essential &&
LactationUtility.HasMilkableBreasts(pawn))
if((precept.def == PreceptDefOf_Lactation.Lactating_Essential
|| precept.def == PreceptDefOf_Lactation.Lactating_MandatoryHucow)
&& LactationUtility.HasMilkableBreasts(pawn))
{
if (!LactationUtility.IsLactating(pawn))