mirror of
https://gitgud.io/AbstractConcept/privacy-please.git
synced 2024-08-15 00:03:18 +00:00
v 0.01
This commit is contained in:
parent
55402b9891
commit
03e634e56c
36 changed files with 866 additions and 491 deletions
|
@ -15,7 +15,7 @@ namespace Privacy_Please
|
|||
{
|
||||
static Harmony_PatchAll()
|
||||
{
|
||||
Harmony harmony = new Harmony("Rimworld_Animations_Patch");
|
||||
Harmony harmony = new Harmony("Privacy_Please");
|
||||
harmony.PatchAll(Assembly.GetExecutingAssembly());
|
||||
|
||||
// Add quirks to game
|
||||
|
@ -24,6 +24,8 @@ namespace Privacy_Please
|
|||
|
||||
Quirk cuckold = new Quirk("Cuckold", "CuckoldQuirk");
|
||||
Quirk.All.AddDistinct(cuckold);
|
||||
|
||||
DebugMode.Message("Added RJW quirks");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace Privacy_Please
|
|||
foreach (Thing thing in GenRadial.RadialDistinctThingsAround(pawn.Position, pawn.Map, radius, true))
|
||||
{
|
||||
Pawn other = thing as Pawn;
|
||||
ThoughtDef thoughtDef = SexInteractionUtility.GetThoughtsAboutSexAct(other, __instance, out Precept precept);
|
||||
ThoughtDef thoughtDef = null; // SexInteractionUtility.GetThoughtsAboutSexAct(other, __instance, out Precept precept);
|
||||
|
||||
// Find candidates to invite
|
||||
if (other != null && thoughtDef?.hediff == null && SexInteractionUtility.CouldInvitePasserbyForSex(other, pawn.GetAllSexParticipants()))
|
||||
|
@ -64,7 +64,7 @@ namespace Privacy_Please
|
|||
{
|
||||
if (pawn.IsHashIntervalTick(90))
|
||||
{
|
||||
if (pawn.IsMasturbating() && pawn.HasPrivacy(8f) == false)
|
||||
if (pawn.IsMasturbating() && PrivacyUtility.PawnHasPrivacy(pawn, 8f) == false)
|
||||
{ pawn.jobs.EndCurrentJob(JobCondition.InterruptForced, false, false); }
|
||||
|
||||
else if (pawn.IsHavingSex())
|
||||
|
@ -74,7 +74,7 @@ namespace Privacy_Please
|
|||
|
||||
foreach (Pawn participant in participants)
|
||||
{
|
||||
if (participant.HasPrivacy(8f) == false)
|
||||
if (PrivacyUtility.PawnHasPrivacy(participant, 8f) == false)
|
||||
{ havePrivacy = false; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue