Compare commits

...

4 commits

Author SHA1 Message Date
amevarashi
2855ae3f6c 1.0.1.2 2022-11-06 19:46:13 +05:00
amevarashi
f43fd3cc7d Maybe removed sex proselyzing error with bestiality 2022-11-06 19:16:15 +05:00
amevarashi
31c5293e5f Removed 100% certainty spam for sex proselyzing 2022-11-06 19:14:43 +05:00
amevarashi
29b6639f7d Updated Rimworld ref 2022-11-06 19:12:46 +05:00
6 changed files with 10 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>RJWSexperienceIdeology</identifier>
<version>1.0.1.1</version>
<version>1.0.1.2</version>
<dependencies>
<li>RimJobWorld >= 5.3.0</li>
</dependencies>

View file

@ -1,3 +1,6 @@
## Version 1.0.1.2
* Removed 100% certainty spam for sex proselyzing
* Maybe removed sex proselyzing error with bestiality
## Version 1.0.1.1
* Fixed Ideology overwriting Sexperience's mod settings label
* Fixed submissive gender can't be marked for comfort

View file

@ -49,7 +49,10 @@ namespace RJWSexperience.Ideology
// Option A: Partner has same Ideo as Pawn, increase certainty
if (sameIdeo)
{
partner.ideo.OffsetCertainty(severity);
if (partner.ideo.Certainty < 1f)
{
partner.ideo.OffsetCertainty(severity);
}
}
// Option B: Partner as different Ideo, try to convert
else

View file

@ -94,7 +94,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Krafs.Rimworld.Ref">
<Version>1.4.3530</Version>
<Version>1.4.3537</Version>
</PackageReference>
<PackageReference Include="Lib.Harmony">
<Version>2.2.2</Version>

View file

@ -238,7 +238,7 @@ namespace RJWSexperience.Ideology.Patches
public static void Postfix(SexProps props)
{
// ShortCuts: Exit Early if Pawn or Partner are null (can happen with Animals or Masturbation)
if (props.pawn == null || !props.hasPartner())
if (props.pawn?.Ideo == null || !props.hasPartner())
return;
if (props.partner.Ideo?.HasPrecept(VariousDefOf.ProselyzingByOrgasm) == true)