From 994a525cb708da19ac64083d5eba0faa5d5d3f7d Mon Sep 17 00:00:00 2001 From: c0ffee Date: Tue, 16 Nov 2021 22:28:13 -0800 Subject: [PATCH] food utility fix --- .../1.3/Assemblies/CRIALactation.dll | Bin 23552 -> 23552 bytes .../HarmonyPatch_FoodUtility.cs | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CRIALactation/1.3/Assemblies/CRIALactation.dll b/CRIALactation/1.3/Assemblies/CRIALactation.dll index 4e80b339d5704d910a4314b627b5866b604c739e..0bb7276edd4292aea51ac60363ec4e6e22df9eb0 100644 GIT binary patch delta 6258 zcmY*d3wTsTmOfQ=Uw!+L?%Ul-cStaSAZbj%@Jf(~!5B3@2KWeQ)C}(r7y${7U2ufk z9Y#OV(J@~;2VC>cWgD5wi#kBD(B?49uQ$xDJG%cB6=Krafp zC|njdh&-=Z)(e*Vk!k__S9%8qlm-C|kZSC>_MaHn`NZ?>^PCoSvk#;DE(chG*RlC1 zk6*N4_Pm)qp7#a;%+gRdVLaS86aX_o-#aGM--g#3ORB*zhF}t9L$GmvZLCJbNw7!}Srm6%Jkc z=`^At9ttbL+1qg5q_Al`n}6^S@9>i*93!kz6x)Fp@RjbIC-EvaRz|HjN9< z_fgbZ9_afqT9xtTpWr}Tl@07S8=u)uJW13rPR}ytmI-jyj&M~C=IMR z&V@&D(rHt4S#ZIi3SA-cPPS6#_{17`JR1}QGkFH zN}Ii{q7G&H7lfB%>wWj4B$<8fTkji(l47f5SGQ)`|7~L z6vURQ3=1wV(9B!lmgBx!po6U zngMT{Un8DYUu(JWh370{W0Y__<3caV@5Tr#V*iVH+9rHHTq=v<8Sg1gKyCOGY9@Iv z%UoC>FN$2~tq9xfi>Tj(DByUtP9^8(fiB=)N%BemoA_w%VT?N(>W^oAtgAj9jvu$+ zYw7laz9Z-7m1Ok>#GM4n%b`RcTSSlk*4V9~a?~tl_C%~2pQ{3Xb%muvg}v@D;veD` z8C6XF84n%qWVR0`+6EqlbNa9iCr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VRR%Xtk()lOXKOtgIG@mZ($kjK@Ihy$nz9pjwk+<_8=BMs(M7T z=Q&ilJsS`|P@A>ctUso0_I7G>Gd{arhcyXKIE}c2aWCUR#9`oqnZ_^(z@vx*VI|^V zNFfe|mk=u$?_eCu`iZbLj)uvsdVp~j96-&Z@Fn8oaM>6OKY>+_e)tekiGJAS94s!w z5Notp26c|HD6g|-2_;rJ_K8*Kv!CS?Ecdev@~^PQ0kR+39Wlggb2Q>F%(0T9;xptj zxW&1jNk8K(MTwR%zR0*wErZ3*{Van<))?bx#uN7oiU{G;a1{Bixd@3{xg7VfQ>->~}3$>52L<&X+anAzCn2-ypSo#=AL zl(3t<{zQ)%vJ=Zu)t52#X%1o6=>T@J%!mnrZw^3Tf3jQ|cC+q~c9Ya%U^f{cSvKtC znACd{hEAx()0K8&n~9HP6E8+PISDUJuMX1d#V^OgpKSDM=>1Rtbo*gs_=n6+HrvU0 zTyYUj23A~>8aHv2_<1ThG1r~AVu5mFRy!F=y*zPXyu=X`ehh8*0jjLLK<=F2_mub`t{Xc)Bz1?9QtB9<_`Qes2e-Ey*?ET%vXe)I%)Gfk1b{UG@Zh== z=R^L)MNE6i0}2@?vzzSXaSe~aO$U%Xj*XyCoSlL(Yz)1U$FGIi$&=0)<)LNp!6nWc z*g-@}%b~IUyu9Awd0Jxfv@}fW>k9R79?#0e{~ZXgatN=>;gJ4hE;b|afrLkw%iUfv z@8hoQ1c^rC1GO+-TUZOko zd_!^GHV+tlsOb~caTb#$7DzA9r4NsjtK?zX1$eT2E?qS7bR=Dx;cuyRVn6tXf9dJ%%ApxVn&ZW9)Gdv8mE_vZ z_(z%ND@RXEk6@8122T!t z&m>>MzRsubeN9V^n(DKQAHQ*by^G{nYksz __result, ref List ___ingestThoughts, Pawn ingester, Thing foodSource, ThingDef foodDef) { if (ingester.Ideo != null) @@ -30,6 +30,9 @@ namespace CRIALactation if (foodDef == ThingDefOf_Milk.HumanMilk || foodDef == ThingDefOf_Milk.HumanoidMilk) { AddThoughtsFromIdeo_Patch(HistoryEventDefOf_Milk.DrankMilkRaw, ingester, foodDef, FoodUtility.GetMeatSourceCategory(foodDef)); + + __result = ___ingestThoughts; + }