- 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>
</preceptThoughtDefs>
<replacementThoughts>
<li>
<li MayRequire="erdelf.HumanoidAlienRaces">
<requiredTraits>
<Xenophobia>1</Xenophobia>
</requiredTraits>
<replacementThoughtDef>SawHAR_AlienDating_Prohibited</replacementThoughtDef>
</li>
<li>
<li MayRequire="erdelf.HumanoidAlienRaces">
<requiredTraits>
<Xenophobia>-1</Xenophobia>
</requiredTraits>

View file

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

View file

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

View file

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

View file

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

Binary file not shown.

View file

@ -15,7 +15,7 @@ namespace Privacy_Please
private Pawn pawn;
private int lastExclaimationTick = -1;
private int exclaimationCoolDown = 90;
private int lastInvitationTick = 600;
private int lastInvitationTick = -1;
private int invitationCoolDown = 600;
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();
// 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.rapeIsUninteruptable && jobDriver?.Sexprops?.isRape == true) return ReactionToSexAct.Uncaring;

Binary file not shown.

Binary file not shown.