25 lines
683 B
C#
25 lines
683 B
C#
using Milk;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse;
|
|
|
|
namespace CRIALactation
|
|
{
|
|
public static class LactationUtility
|
|
{
|
|
|
|
public static bool IsLactating(Pawn p)
|
|
{
|
|
|
|
return
|
|
p.health.hediffSet.HasHediff(HediffDefOf_Milk.Lactating_Natural, false) ||
|
|
p.health.hediffSet.HasHediff(HediffDefOf_Milk.Lactating_Drug, false) ||
|
|
p.health.hediffSet.HasHediff(HediffDefOf_Milk.Lactating_Permanent, false) ||
|
|
p.health.hediffSet.HasHediff(HediffDefOf_Milk.Heavy_Lactating_Permanent, false);
|
|
}
|
|
}
|
|
}
|