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

@ -71,13 +71,13 @@ namespace CRIALactation
var drugLact = p.health.hediffSet.GetFirstHediffOfDef(HediffDefOf_Milk.Lactating_Drug);
if(drugLact != null)
{
drugLact.TryGetComp<HediffComp_Disappears>().ticksToDisappear = 600000;
drugLact.TryGetComp<HediffComp_Disappears>().ticksToDisappear = 1800000;
}
var naturalLact = p.health.hediffSet.GetFirstHediffOfDef(HediffDefOf_Milk.Lactating_Natural);
if (naturalLact != null)
{
naturalLact.TryGetComp<HediffComp_Disappears>().ticksToDisappear = 600000;
naturalLact.TryGetComp<HediffComp_Disappears>().ticksToDisappear = 1800000;
}
}