From 40c79dd0cd370555d0d584abe17ceaa5ac420c28 Mon Sep 17 00:00:00 2001 From: c0ffee Date: Wed, 17 Nov 2021 11:36:41 -0800 Subject: [PATCH] Made eating human milk raw + in meals a requirement --- .../1.3/Assemblies/CRIALactation.dll | Bin 23552 -> 26112 bytes .../HistoryEventDefs/HistoryEventDefs.xml | 9 ++- .../Defs/PreceptDefs/Precepts_Lactating.xml | 72 ++++++++++++------ .../HarmonyPatch_FoodUtility.cs | 23 +++++- .../HistoryEventDefOf_Milk.cs | 2 + 5 files changed, 81 insertions(+), 25 deletions(-) diff --git a/CRIALactation/1.3/Assemblies/CRIALactation.dll b/CRIALactation/1.3/Assemblies/CRIALactation.dll index 0bb7276edd4292aea51ac60363ec4e6e22df9eb0..b32b2ffb1c362d92fa06cfb74e88eb120f399c33 100644 GIT binary patch literal 26112 zcmeHvdwg8gasS-M-d(L8mR3*8wpfF0)|M>%kc|bhu`J29K(b}aHa1}7_3o9lc(qsF zUD+109Lb~!4x|N=kdX3A3@J&RCT$3zU_z*!0?mswgnkle1BH@DNpahRLPJuVerL|z z)vjzPN&Cs?_eW*#?97}wbLPyMGv~2)xBHsg$RHvUuiyNJ=wZC`-&%q13?@)qa={}d z^yPx5=02=-JvDdRU@R3JPC5h0@K7)kP9&UkaIYOqjwFJyM6i8xZ*a(o+Kt7<{&}wI zo(`fe&7dpqdg9ZW)?TCwgN51>qU*u26!(S0cn{(=ffrG!;JUJ#8Lk-7DG=cEpFw;6 zfJOQL)VoVE3xBsl?`B3Oh(5-SnErR1s0h4a$jzQ!_D*z=$d^;@1HCbaZcN*U(x88I z9RSLtuddyo#1ld+Pju-2S;+6BamS|lL zDd;Kmi~ra*ojg>!66)6zX~O;OLHQD$W}+JEmr)XMI5nTh@3%q=@a9|$K#ThIP>2!I zzv}@AEd(*X2w>4;`h}>{I*y7aqrtV~=!mI@>Row^vn$`g@>IUWpsU1ov^PTwEe6+b zH8fjhs1azx5+Ii_a3Xw?}g zSIrms8fr+t@TqTiT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L!rcj-w3jVX)h)XPU2loA5t*|QvYfTdJPD}@+59V} zut8v|a7ofXb}be=q&`N&Q7A6N8Mwb{}+#pfNc*@tXF2V@nU5_s|~`K0NR zQ@~)I;Zms&gN_3NPiD8wdCi=ts4=^4?l?83>(RN}RQAVLZtv DrankMilkRaw - + DrankMilkMeal - + + + DrankNonMilkMeal + + + diff --git a/CRIALactation/Defs/PreceptDefs/Precepts_Lactating.xml b/CRIALactation/Defs/PreceptDefs/Precepts_Lactating.xml index 00c59d7..3e0fc73 100644 --- a/CRIALactation/Defs/PreceptDefs/Precepts_Lactating.xml +++ b/CRIALactation/Defs/PreceptDefs/Precepts_Lactating.xml @@ -16,7 +16,7 @@ High 20 100 - Milk from breasts is creamy and delicious. It should be produced and consumed on a regular basis. Lactating colonists will produce double the normal amount of milk. + Milk from breasts is creamy and delicious. It should be produced and consumed on a regular basis. Lactating colonists can be converted to hucow, which will produce double the normal amount of milk.

  • Lactating_Essential @@ -27,14 +27,18 @@ Lactating_Essential_Social true
  • +
  • + DrankNonMilkMeal + DrankNonMilkMeal_Essential +
  • DrankMilkRaw - DrankMilkRawReligion -
  • + DrankMilkRaw_Essential +
  • DrankMilkMeal - DrankMilkMealReligion -
  • + DrankMilkMeal_Essential + @@ -69,8 +73,6 @@ - - Lactating_Essential_Social Thought_SituationalSocial @@ -86,36 +88,62 @@
  • - -20 + -10
  • - -40 + -15
  • - - DrankMilkRawReligion - 1 + + DrankMilkRaw_Essential + 1
  • - - The taste of breast milk from humans is a taste of the gods! - 10 + + The taste of fresh breast milk is sweet, fulfilling, and intimate. + 6
  • -
    +
    - - DrankMilkMealReligion - 1 + + DrankMilkMeal_Essential + 1
  • - - Human breast milk with a meal is just the best! - 20 + + The breast milk accentuated my meal beautifully. + 2 +
  • +
    +
    + + + DrankNonMilkMeal_Essential + 1 + +
  • + + I had to eat food that wasn't produced from a person's breasts. My beliefs strictly forbid such things. + -2 +
  • +
    +
    + + + NoRecentHumanMilk_Essential + Thought_Situational + CRIALactation.ThoughtWorker_Precept_NoRecentHumanMilk + True + +
  • + + It's been so long since I've tasted the milk of a woman's breasts. I should have had some by now. + -6
  • diff --git a/CRIALactation/Source/HarmonyPatches/HarmonyPatch_FoodUtility.cs b/CRIALactation/Source/HarmonyPatches/HarmonyPatch_FoodUtility.cs index c60c105..d4c175e 100644 --- a/CRIALactation/Source/HarmonyPatches/HarmonyPatch_FoodUtility.cs +++ b/CRIALactation/Source/HarmonyPatches/HarmonyPatch_FoodUtility.cs @@ -23,10 +23,14 @@ namespace CRIALactation [HarmonyPatch(typeof(FoodUtility), "ThoughtsFromIngesting")] public static void Postfix(ref List __result, ref List ___ingestThoughts, Pawn ingester, Thing foodSource, ThingDef foodDef) { + /** + * checks if food has milk or not + */ if (ingester.Ideo != null) { - + + CompIngredients ingredients = foodSource.TryGetComp(); if (foodDef == ThingDefOf_Milk.HumanMilk || foodDef == ThingDefOf_Milk.HumanoidMilk) { AddThoughtsFromIdeo_Patch(HistoryEventDefOf_Milk.DrankMilkRaw, ingester, foodDef, FoodUtility.GetMeatSourceCategory(foodDef)); @@ -34,6 +38,11 @@ namespace CRIALactation __result = ___ingestThoughts; } + else if (ingredients == null + || !(ingredients.ingredients.Contains(ThingDefOf_Milk.HumanMilk) || (ingredients.ingredients.Contains(ThingDefOf_Milk.HumanoidMilk)))) { + AddThoughtsFromIdeo_Patch(HistoryEventDefOf_Milk.DrankNonMilkMeal, ingester, foodDef, FoodUtility.GetMeatSourceCategory(foodDef)); + __result = ___ingestThoughts; + } } @@ -57,5 +66,17 @@ namespace CRIALactation } + [HarmonyPatch(typeof(FoodUtility), "GenerateGoodIngredients")] + public static void Postfix(Thing meal, Ideo ideo) + { + CompIngredients compIngredients = meal.TryGetComp(); + + if(ideo.HasPrecept(PreceptDefOf_Lactation.Lactating_Essential)) + { + compIngredients.ingredients.Add(ThingDefOf_Milk.HumanMilk); + compIngredients.ingredients.Add(ThingDefOf_Milk.HumanoidMilk); + } + } + } } diff --git a/CRIALactation/Source/HistoryEventDefOf/HistoryEventDefOf_Milk.cs b/CRIALactation/Source/HistoryEventDefOf/HistoryEventDefOf_Milk.cs index 0e17b05..2cb99f2 100644 --- a/CRIALactation/Source/HistoryEventDefOf/HistoryEventDefOf_Milk.cs +++ b/CRIALactation/Source/HistoryEventDefOf/HistoryEventDefOf_Milk.cs @@ -18,5 +18,7 @@ namespace CRIALactation public static HistoryEventDef DrankMilkRaw; public static HistoryEventDef DrankMilkMeal; + + public static HistoryEventDef DrankNonMilkMeal; } }