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>
|
<Defs>
|
||||||
|
|
||||||
<!--Issue-->
|
<!--Issue-->
|
||||||
<!--
|
|
||||||
<IssueDef>
|
<IssueDef>
|
||||||
<defName>Lactation</defName>
|
<defName>Lactation</defName>
|
||||||
<label>lactation</label>
|
<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>
|
<description>Milk from breasts is healthy and delicious. It should be produced and consumed by everyone on a regular basis.</description>
|
||||||
<comps>
|
<comps>
|
||||||
|
|
||||||
|
|
||||||
<li Class="PreceptComp_SituationalThought">
|
<li Class="PreceptComp_SituationalThought">
|
||||||
<thought>Lactating_Essential</thought>
|
<thought>Lactating_Essential</thought>
|
||||||
<description>Pawns with sizeable breasts should be producing milk</description>
|
<description>Pawns with sizeable breasts should be producing milk</description>
|
||||||
|
@ -44,5 +43,5 @@
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
</ThoughtDef>
|
||||||
-->
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|
|
@ -18,7 +18,8 @@ namespace C0ffee_s_RJW_Ideology_Addons
|
||||||
|
|
||||||
public static void Prefix(JobDriver_SexBaseInitiator __instance)
|
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;
|
HistoryEventDef def = __instance.pawn.relations.DirectRelationExists(PawnRelationDefOf.Spouse, __instance.Partner) ? HistoryEventDefOf.GotLovin_Spouse : HistoryEventDefOf.GotLovin_NonSpouse;
|
||||||
|
|
||||||
if (!(IdeoUtility.DoerWillingToDo(HistoryEventDefOf.SharedBed_NonSpouse, __instance.Partner) && (__instance.Partner.IsSlaveOfColony || __instance.Partner.IsPrisonerOfColony))) //ensure raped pawns don't enjoy
|
if (!(IdeoUtility.DoerWillingToDo(HistoryEventDefOf.SharedBed_NonSpouse, __instance.Partner) && (__instance.Partner.IsSlaveOfColony || __instance.Partner.IsPrisonerOfColony))) //ensure raped pawns don't enjoy
|
||||||
|
|
Loading…
Reference in a new issue