- Fixed a bug that was preventing threesomes from occurring
- Stopped the red text errors from occurring when running this mod without Humanoid Alien Races
This commit is contained in:
AbstractConcept 2023-02-01 21:09:51 -06:00
parent 5224ef08c2
commit 211442e7eb
14 changed files with 18 additions and 14 deletions

Binary file not shown.

View file

@ -1,2 +0,0 @@
v 1.0.0
- Initial release

View file

@ -0,0 +1,6 @@
v 1.0.1
- Fixed a bug that was preventing threesomes from occurring
- Stopped the red text errors from occurring when running this mod without Humanoid Alien Races
v 1.0.0
- Initial release

View file

@ -236,13 +236,13 @@
<li>SawHAR_AlienDating_Honorable</li> <li>SawHAR_AlienDating_Honorable</li>
</preceptThoughtDefs> </preceptThoughtDefs>
<replacementThoughts> <replacementThoughts>
<li> <li MayRequire="erdelf.HumanoidAlienRaces">
<requiredTraits> <requiredTraits>
<Xenophobia>1</Xenophobia> <Xenophobia>1</Xenophobia>
</requiredTraits> </requiredTraits>
<replacementThoughtDef>SawHAR_AlienDating_Prohibited</replacementThoughtDef> <replacementThoughtDef>SawHAR_AlienDating_Prohibited</replacementThoughtDef>
</li> </li>
<li> <li MayRequire="erdelf.HumanoidAlienRaces">
<requiredTraits> <requiredTraits>
<Xenophobia>-1</Xenophobia> <Xenophobia>-1</Xenophobia>
</requiredTraits> </requiredTraits>

View file

@ -15,7 +15,7 @@
</li> </li>
</stages> </stages>
<nullifyingTraitDegrees> <nullifyingTraitDegrees>
<Xenophobia>-1</Xenophobia> <Xenophobia MayRequire="erdelf.HumanoidAlienRaces">-1</Xenophobia>
</nullifyingTraitDegrees> </nullifyingTraitDegrees>
<replaceThoughts> <replaceThoughts>
<li>SawHAR_AlienDating_Horrible</li> <li>SawHAR_AlienDating_Horrible</li>
@ -39,7 +39,7 @@
</li> </li>
</stages> </stages>
<nullifyingTraitDegrees> <nullifyingTraitDegrees>
<Xenophobia>-1</Xenophobia> <Xenophobia MayRequire="erdelf.HumanoidAlienRaces">-1</Xenophobia>
</nullifyingTraitDegrees> </nullifyingTraitDegrees>
<replaceThoughts> <replaceThoughts>
<li>SawHAR_AlienDating_Prohibited</li> <li>SawHAR_AlienDating_Prohibited</li>
@ -63,7 +63,7 @@
</li> </li>
</stages> </stages>
<nullifyingTraitDegrees> <nullifyingTraitDegrees>
<Xenophobia>1</Xenophobia> <Xenophobia MayRequire="erdelf.HumanoidAlienRaces">1</Xenophobia>
</nullifyingTraitDegrees> </nullifyingTraitDegrees>
<replaceThoughts> <replaceThoughts>
<li>SawHAR_AlienDating_Prohibited</li> <li>SawHAR_AlienDating_Prohibited</li>
@ -87,7 +87,7 @@
</li> </li>
</stages> </stages>
<nullifyingTraitDegrees> <nullifyingTraitDegrees>
<Xenophobia>1</Xenophobia> <Xenophobia MayRequire="erdelf.HumanoidAlienRaces">1</Xenophobia>
</nullifyingTraitDegrees> </nullifyingTraitDegrees>
<replaceThoughts> <replaceThoughts>
<li>SawHAR_AlienDating_Prohibited</li> <li>SawHAR_AlienDating_Prohibited</li>
@ -111,7 +111,7 @@
</li> </li>
</stages> </stages>
<nullifyingTraitDegrees> <nullifyingTraitDegrees>
<Xenophobia>1</Xenophobia> <Xenophobia MayRequire="erdelf.HumanoidAlienRaces">1</Xenophobia>
</nullifyingTraitDegrees> </nullifyingTraitDegrees>
<replaceThoughts> <replaceThoughts>
<li>SawHAR_AlienDating_Prohibited</li> <li>SawHAR_AlienDating_Prohibited</li>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Patch> <Patch>
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Normal</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Patch> <Patch>
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Normal</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Patch> <Patch>
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Normal</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">

Binary file not shown.

View file

@ -15,7 +15,7 @@ namespace Privacy_Please
private Pawn pawn; private Pawn pawn;
private int lastExclaimationTick = -1; private int lastExclaimationTick = -1;
private int exclaimationCoolDown = 90; private int exclaimationCoolDown = 90;
private int lastInvitationTick = 600; private int lastInvitationTick = -1;
private int invitationCoolDown = 600; private int invitationCoolDown = 600;
public override void Initialize(CompProperties props) public override void Initialize(CompProperties props)

View file

@ -75,7 +75,7 @@ namespace Privacy_Please
if (applyThoughtDef && thoughtDef.stages[0].baseMoodEffect < 0 && nullifyingTraits?.Any(x => x.HasTrait(reactor)) != true) reactor.TryGetComp<CompPawnThoughtData>()?.TryToExclaim(); if (applyThoughtDef && thoughtDef.stages[0].baseMoodEffect < 0 && nullifyingTraits?.Any(x => x.HasTrait(reactor)) != true) reactor.TryGetComp<CompPawnThoughtData>()?.TryToExclaim();
// Reactors who have their reactions changed after applying thoughtDefs // Reactors who have their reactions changed after applying thoughtDefs
if ((otherPawn.jobs.curDriver as JobDriver_Sex)?.Sexprops.isWhoring == true) return ReactionToSexAct.Ignored; if ((otherPawn.jobs.curDriver as JobDriver_Sex)?.Sexprops?.isWhoring == true) return ReactionToSexAct.Ignored;
if (BasicSettings.whoringIsUninteruptable && jobDriver?.Sexprops?.isWhoring == true) return ReactionToSexAct.Uncaring; if (BasicSettings.whoringIsUninteruptable && jobDriver?.Sexprops?.isWhoring == true) return ReactionToSexAct.Uncaring;
if (BasicSettings.rapeIsUninteruptable && jobDriver?.Sexprops?.isRape == true) return ReactionToSexAct.Uncaring; if (BasicSettings.rapeIsUninteruptable && jobDriver?.Sexprops?.isRape == true) return ReactionToSexAct.Uncaring;

Binary file not shown.

Binary file not shown.