mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
bugfix
This commit is contained in:
parent
91d05d0e1e
commit
edada8ff48
4 changed files with 4 additions and 4 deletions
Binary file not shown.
BIN
CRIALactation/1.3/Assemblies/CRIALactation.dll
Normal file
BIN
CRIALactation/1.3/Assemblies/CRIALactation.dll
Normal file
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
<Defs>
|
||||
|
||||
<!--Issue-->
|
||||
<!--
|
||||
|
||||
<IssueDef>
|
||||
<defName>Lactation</defName>
|
||||
<label>lactation</label>
|
||||
|
@ -16,7 +16,6 @@
|
|||
<description>Milk from breasts is healthy and delicious. It should be produced and consumed by everyone on a regular basis.</description>
|
||||
<comps>
|
||||
|
||||
|
||||
<li Class="PreceptComp_SituationalThought">
|
||||
<thought>Lactating_Essential</thought>
|
||||
<description>Pawns with sizeable breasts should be producing milk</description>
|
||||
|
@ -44,5 +43,5 @@
|
|||
</li>
|
||||
</stages>
|
||||
</ThoughtDef>
|
||||
-->
|
||||
|
||||
</Defs>
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace C0ffee_s_RJW_Ideology_Addons
|
|||
|
||||
public static void Prefix(JobDriver_SexBaseInitiator __instance)
|
||||
{
|
||||
if (__instance is JobDriver_Masturbate || __instance.Partner == null) return;
|
||||
|
||||
HistoryEventDef def = __instance.pawn.relations.DirectRelationExists(PawnRelationDefOf.Spouse, __instance.Partner) ? HistoryEventDefOf.GotLovin_Spouse : HistoryEventDefOf.GotLovin_NonSpouse;
|
||||
|
||||
|
|
Loading…
Reference in a new issue