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

@ -19,6 +19,20 @@ namespace CRIALactation
Scribe_Values.Look<int>(ref this.lastHumanLactationIngestedTick, "lastHumanLactationIngestedTick", 0);
}
public override string CompInspectStringExtra()
{
if((parent as Pawn).health?.hediffSet?.GetFirstHediffOfDef(HediffDefOf_Milk.InducingLactation) != null
&& (parent as Pawn).health.hediffSet.GetFirstHediffOfDef(HediffDefOf_Milk.InducingLactation).TryGetComp<HediffComp_LactationInduction>().canMassage())
{
return "Ready to stimulate breasts for lactation.";
}
else
{
return "";
}
}
}