fixed starting packaged meal good ingredients for mandatoryhucow

This commit is contained in:
c0ffee 2022-08-09 14:56:13 -07:00
parent 5696aea1c3
commit 1f175493c8
2 changed files with 2 additions and 1 deletions

View file

@ -72,7 +72,8 @@ namespace CRIALactation
{ {
CompIngredients compIngredients = meal.TryGetComp<CompIngredients>(); CompIngredients compIngredients = meal.TryGetComp<CompIngredients>();
if(ideo.HasPrecept(PreceptDefOf_Lactation.Lactating_Essential)) if(ideo.HasPrecept(PreceptDefOf_Lactation.Lactating_Essential) ||
ideo.HasPrecept(PreceptDefOf_Lactation.Lactating_MandatoryHucow))
{ {
compIngredients.ingredients.Add(ThingDefOf_Milk.HumanMilk); compIngredients.ingredients.Add(ThingDefOf_Milk.HumanMilk);
compIngredients.ingredients.Add(ThingDefOf_Milk.HumanoidMilk); compIngredients.ingredients.Add(ThingDefOf_Milk.HumanoidMilk);