v 0.01
This commit is contained in:
parent
55402b9891
commit
03e634e56c
Binary file not shown.
Binary file not shown.
|
@ -6,6 +6,7 @@
|
||||||
<defName>Disquiet</defName>
|
<defName>Disquiet</defName>
|
||||||
<label>disquiet</label>
|
<label>disquiet</label>
|
||||||
<description>This person saw something that upset them and it's weighting on their thoughts.</description>
|
<description>This person saw something that upset them and it's weighting on their thoughts.</description>
|
||||||
|
<isBad>false</isBad>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
<label>present</label>
|
<label>present</label>
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
<defName>Panicked</defName>
|
<defName>Panicked</defName>
|
||||||
<label>panicked</label>
|
<label>panicked</label>
|
||||||
<description>This person saw something that has shaked them to their core. Will they run or fight?</description>
|
<description>This person saw something that has shaked them to their core. Will they run or fight?</description>
|
||||||
|
<isBad>false</isBad>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
<label>present</label>
|
<label>present</label>
|
||||||
|
@ -30,6 +32,7 @@
|
||||||
<defName>Nauseated</defName>
|
<defName>Nauseated</defName>
|
||||||
<label>nauseated</label>
|
<label>nauseated</label>
|
||||||
<description>This poor soul saw something something so utterly foul that they just might be sick from the thought.</description>
|
<description>This poor soul saw something something so utterly foul that they just might be sick from the thought.</description>
|
||||||
|
<isBad>false</isBad>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
<label>present</label>
|
<label>present</label>
|
||||||
|
@ -42,6 +45,7 @@
|
||||||
<defName>Indignant</defName>
|
<defName>Indignant</defName>
|
||||||
<label>indignant</label>
|
<label>indignant</label>
|
||||||
<description>This person witnessed something quite distasteful and is going to give the offender a piece of their mind.</description>
|
<description>This person witnessed something quite distasteful and is going to give the offender a piece of their mind.</description>
|
||||||
|
<isBad>false</isBad>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
<label>present</label>
|
<label>present</label>
|
||||||
|
|
|
@ -8,24 +8,13 @@
|
||||||
</IssueDef>
|
</IssueDef>
|
||||||
|
|
||||||
<!-- Precepts -->
|
<!-- Precepts -->
|
||||||
<PreceptDef>
|
|
||||||
<defName>Exhibitionism_Forbidden</defName>
|
|
||||||
<issue>Exhibitionism</issue>
|
|
||||||
<label>forbidden</label>
|
|
||||||
<description>Physical intimacy in the presence of others is a wicked thing.</description>
|
|
||||||
<impact>High</impact>
|
|
||||||
<displayOrderInIssue>50</displayOrderInIssue>
|
|
||||||
<displayOrderInImpact>1000</displayOrderInImpact>
|
|
||||||
<defaultSelectionWeight>100</defaultSelectionWeight>
|
|
||||||
</PreceptDef>
|
|
||||||
|
|
||||||
<PreceptDef>
|
<PreceptDef>
|
||||||
<defName>Exhibitionism_Disapproved</defName>
|
<defName>Exhibitionism_Disapproved</defName>
|
||||||
<issue>Exhibitionism</issue>
|
<issue>Exhibitionism</issue>
|
||||||
<label>disapproved</label>
|
<label>disapproved</label>
|
||||||
<description>Performing sexual acts in front of others is shameful.</description>
|
<description>Being seen having sex is shameful.</description>
|
||||||
<impact>Low</impact>
|
<impact>Low</impact>
|
||||||
<displayOrderInIssue>40</displayOrderInIssue>
|
<displayOrderInIssue>30</displayOrderInIssue>
|
||||||
<displayOrderInImpact>1000</displayOrderInImpact>
|
<displayOrderInImpact>1000</displayOrderInImpact>
|
||||||
<defaultSelectionWeight>100</defaultSelectionWeight>
|
<defaultSelectionWeight>100</defaultSelectionWeight>
|
||||||
</PreceptDef>
|
</PreceptDef>
|
||||||
|
@ -34,9 +23,9 @@
|
||||||
<defName>Exhibitionism_Acceptable</defName>
|
<defName>Exhibitionism_Acceptable</defName>
|
||||||
<issue>Exhibitionism</issue>
|
<issue>Exhibitionism</issue>
|
||||||
<label>acceptable</label>
|
<label>acceptable</label>
|
||||||
<description>Sex a normal and natural event and should attract no special attention from others.</description>
|
<description>Sex infront of others is normal and deserves no special attention.</description>
|
||||||
<impact>Low</impact>
|
<impact>Low</impact>
|
||||||
<displayOrderInIssue>30</displayOrderInIssue>
|
<displayOrderInIssue>20</displayOrderInIssue>
|
||||||
<displayOrderInImpact>1000</displayOrderInImpact>
|
<displayOrderInImpact>1000</displayOrderInImpact>
|
||||||
<defaultSelectionWeight>100</defaultSelectionWeight>
|
<defaultSelectionWeight>100</defaultSelectionWeight>
|
||||||
</PreceptDef>
|
</PreceptDef>
|
||||||
|
@ -45,9 +34,9 @@
|
||||||
<defName>Exhibitionism_Approved</defName>
|
<defName>Exhibitionism_Approved</defName>
|
||||||
<issue>Exhibitionism</issue>
|
<issue>Exhibitionism</issue>
|
||||||
<label>approved</label>
|
<label>approved</label>
|
||||||
<description>Sex is to be celebrated and people should be encouraged to witness it.</description>
|
<description>Physical intimacy is to be celebrated.</description>
|
||||||
<impact>Medium</impact>
|
<impact>Medium</impact>
|
||||||
<displayOrderInIssue>20</displayOrderInIssue>
|
<displayOrderInIssue>10</displayOrderInIssue>
|
||||||
<displayOrderInImpact>1000</displayOrderInImpact>
|
<displayOrderInImpact>1000</displayOrderInImpact>
|
||||||
<defaultSelectionWeight>100</defaultSelectionWeight>
|
<defaultSelectionWeight>100</defaultSelectionWeight>
|
||||||
</PreceptDef>
|
</PreceptDef>
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<Defs>
|
||||||
|
<!-- Issues -->
|
||||||
|
<IssueDef>
|
||||||
|
<defName>Infidelity</defName>
|
||||||
|
<label>infidelity</label>
|
||||||
|
<iconPath>UI/Issues/Exhibitionism</iconPath>
|
||||||
|
</IssueDef>
|
||||||
|
|
||||||
|
<!-- Precepts -->
|
||||||
|
<PreceptDef>
|
||||||
|
<defName>Infidelity_Heartbreaking</defName>
|
||||||
|
<issue>Infidelity</issue>
|
||||||
|
<label>heartbreaking</label>
|
||||||
|
<description>test</description>
|
||||||
|
<impact>Low</impact>
|
||||||
|
<displayOrderInIssue>30</displayOrderInIssue>
|
||||||
|
<displayOrderInImpact>1000</displayOrderInImpact>
|
||||||
|
<defaultSelectionWeight>100</defaultSelectionWeight>
|
||||||
|
</PreceptDef>
|
||||||
|
|
||||||
|
<PreceptDef>
|
||||||
|
<defName>Infidelity_Disapproved</defName>
|
||||||
|
<issue>Infidelity</issue>
|
||||||
|
<label>disapproved</label>
|
||||||
|
<description>test</description>
|
||||||
|
<impact>Low</impact>
|
||||||
|
<displayOrderInIssue>20</displayOrderInIssue>
|
||||||
|
<displayOrderInImpact>1000</displayOrderInImpact>
|
||||||
|
<defaultSelectionWeight>100</defaultSelectionWeight>
|
||||||
|
</PreceptDef>
|
||||||
|
|
||||||
|
<PreceptDef>
|
||||||
|
<defName>Infidelity_Acceptable</defName>
|
||||||
|
<issue>Infidelity</issue>
|
||||||
|
<label>acceptable</label>
|
||||||
|
<description>test</description>
|
||||||
|
<impact>Low</impact>
|
||||||
|
<displayOrderInIssue>10</displayOrderInIssue>
|
||||||
|
<displayOrderInImpact>1000</displayOrderInImpact>
|
||||||
|
<defaultSelectionWeight>100</defaultSelectionWeight>
|
||||||
|
</PreceptDef>
|
||||||
|
|
||||||
|
</Defs>
|
|
@ -0,0 +1,166 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<Defs>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToExhibitionism</defName>
|
||||||
|
<issueDefName>Exhibitionism</issueDefName>
|
||||||
|
<sexActCheck>SexActIsExhibitionism</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawExhibitionism_Disapproved</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawExhibitionism_Disapproved</li>
|
||||||
|
<li>SawExhibitionism_Acceptable</li>
|
||||||
|
<li>SawExhibitionism_Approved</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredQuirk>Voyeur</requiredQuirk>
|
||||||
|
<replacementThoughtDef>SawExhibitionism_Approved</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToMasturbation</defName>
|
||||||
|
<issueDefName>Masturbation</issueDefName>
|
||||||
|
<sexActCheck>SexActIsMasturbation</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawMasturbation_Disapproved</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawMasturbation_Abhorrent</li>
|
||||||
|
<li>SawMasturbation_Disapproved</li>
|
||||||
|
<li>SawMasturbation_Acceptable</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredQuirk>Voyeur</requiredQuirk>
|
||||||
|
<replacementThoughtDef>SawMasturbation_Approved</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToInfidelity</defName>
|
||||||
|
<issueDefName>Infidelity</issueDefName>
|
||||||
|
<sexActCheck>SexActIsInfidelity</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawInfidelity_Heartbreaking</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawInfidelity_Heartbreaking</li>
|
||||||
|
<li>SawInfidelity_Disapproved</li>
|
||||||
|
<li>SawInfidelity_Acceptable</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredQuirk>Cuckold</requiredQuirk>
|
||||||
|
<replacementThoughtDef>SawInfidelity_Approved</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToXenophilia</defName>
|
||||||
|
<issueDefName>HAR_AlienDating</issueDefName>
|
||||||
|
<sexActCheck>SexActIsRape</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawHAR_AlienDating_Acceptable</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawHAR_AlienDating_Prohibited</li>
|
||||||
|
<li>SawHAR_AlienDating_Horrible</li>
|
||||||
|
<li>SawHAR_AlienDating_Acceptable</li>
|
||||||
|
<li>SawHAR_AlienDating_Preferred</li>
|
||||||
|
<li>SawHAR_AlienDating_Know_Honorable</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredTraits>
|
||||||
|
<Xenophobia>1</Xenophobia>
|
||||||
|
</requiredTraits>
|
||||||
|
<replacementThoughtDef>SawHAR_AlienDating_Prohibited</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<requiredTraits>
|
||||||
|
<Xenophobia>-1</Xenophobia>
|
||||||
|
</requiredTraits>
|
||||||
|
<replacementThoughtDef>SawHAR_AlienDating_Know_Honorable</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToBestiality</defName>
|
||||||
|
<issueDefName>Bestiality</issueDefName>
|
||||||
|
<sexActCheck>SexActIsBestiality</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawBestiality_Abhorrent</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawBestiality_Abhorrent</li>
|
||||||
|
<li>SawBestiality_Horrible</li>
|
||||||
|
<li>SawBestiality_Disapproved</li>
|
||||||
|
<li>SawBestiality_Acceptable</li>
|
||||||
|
<li>SawBestiality_Honorable</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredTraits>
|
||||||
|
<li>Zoophile</li>
|
||||||
|
</requiredTraits>
|
||||||
|
<replacementThoughtDef>SawBestiality_Honorable</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToNecrophilia</defName>
|
||||||
|
<issueDefName>Necrophilia</issueDefName>
|
||||||
|
<sexActCheck>SexActIsNecrophilia</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawNecrophilia_Abhorrent</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawNecrophilia_Abhorrent</li>
|
||||||
|
<li>SawNecrophilia_Horrible</li>
|
||||||
|
<li>SawNecrophilia_Disapproved</li>
|
||||||
|
<li>SawNecrophilia_Acceptable</li>
|
||||||
|
<li>SawNecrophilia_Honorable</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredTraits>
|
||||||
|
<li>Necrophiliac</li>
|
||||||
|
</requiredTraits>
|
||||||
|
<replacementThoughtDef>SawNecrophilia_Honorable</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActReactionDef>
|
||||||
|
<defName>reactionToRape</defName>
|
||||||
|
<issueDefName>Rape</issueDefName>
|
||||||
|
<sexActCheck>SexActIsRape</sexActCheck>
|
||||||
|
<witnessReaction>
|
||||||
|
<defaultThoughtDef>SawRape_Abhorrent</defaultThoughtDef>
|
||||||
|
<associatedThoughtDefs>
|
||||||
|
<li>SawRape_Abhorrent</li>
|
||||||
|
<li>SawRape_Horrible</li>
|
||||||
|
<li>SawRape_Disapproved</li>
|
||||||
|
<li>SawRape_Acceptable</li>
|
||||||
|
<li>SawRape_Honorable</li>
|
||||||
|
</associatedThoughtDefs>
|
||||||
|
<replacementThoughts>
|
||||||
|
<li>
|
||||||
|
<requiredTraits>
|
||||||
|
<li>Rapist</li>
|
||||||
|
</requiredTraits>
|
||||||
|
<replacementThoughtDef>SawRape_Honorable</replacementThoughtDef>
|
||||||
|
</li>
|
||||||
|
</replacementThoughts>
|
||||||
|
</witnessReaction>
|
||||||
|
</Privacy_Please.SexActReactionDef>
|
||||||
|
|
||||||
|
</Defs>
|
|
@ -2,14 +2,10 @@
|
||||||
|
|
||||||
<Defs>
|
<Defs>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawBestiality_Abhorrent</defName>
|
<defName>SawBestiality_Abhorrent</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<nullifyingTraits>
|
|
||||||
<li>Zoophile</li>
|
|
||||||
</nullifyingTraits>
|
|
||||||
<hediff>Panicked</hediff>
|
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -18,16 +14,16 @@
|
||||||
<baseMoodEffect>-20</baseMoodEffect>
|
<baseMoodEffect>-20</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawBestiality_Horrible</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Zoophile</li>
|
<li>Zoophile</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
<hediff>Disquiet</hediff>
|
<reactionToSexAct>Outrage</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawBestiality_Horrible</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -36,16 +32,16 @@
|
||||||
<baseMoodEffect>-15</baseMoodEffect>
|
<baseMoodEffect>-15</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawBestiality_Disapproved</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Zoophile</li>
|
<li>Zoophile</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
<hediff>Disquiet</hediff>
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawBestiality_Disapproved</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -54,15 +50,16 @@
|
||||||
<baseMoodEffect>-10</baseMoodEffect>
|
<baseMoodEffect>-10</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawBestiality_Acceptable</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Zoophile</li>
|
<li>Zoophile</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawBestiality_Acceptable</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -71,13 +68,13 @@
|
||||||
<baseMoodEffect>-4</baseMoodEffect>
|
<baseMoodEffect>-4</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
<nullifyingPrecepts>
|
<nullifyingTraits>
|
||||||
<li>Exhibitionism_Acceptable</li>
|
<li>Zoophile</li>
|
||||||
<li>Exhibitionism_Approved</li>
|
</nullifyingTraits>
|
||||||
</nullifyingPrecepts>
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
</ThoughtDef>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawBestiality_Honorable</defName>
|
<defName>SawBestiality_Honorable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -89,6 +86,7 @@
|
||||||
<baseMoodEffect>+2</baseMoodEffect>
|
<baseMoodEffect>+2</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|
|
@ -0,0 +1,53 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
|
||||||
|
<Defs>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawExhibitionism_Disapproved</defName>
|
||||||
|
<thoughtClass>Thought_Memory</thoughtClass>
|
||||||
|
<durationDays>1.0</durationDays>
|
||||||
|
<stackLimit>1</stackLimit>
|
||||||
|
<stackedEffectMultiplier>0.5</stackedEffectMultiplier>
|
||||||
|
<stages>
|
||||||
|
<li>
|
||||||
|
<label>walked in on some lovin'</label>
|
||||||
|
<description>test</description>
|
||||||
|
<baseMoodEffect>-4</baseMoodEffect>
|
||||||
|
</li>
|
||||||
|
</stages>
|
||||||
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawExhibitionism_Acceptable</defName>
|
||||||
|
<thoughtClass>Thought_Memory</thoughtClass>
|
||||||
|
<durationDays>1.0</durationDays>
|
||||||
|
<stackLimit>1</stackLimit>
|
||||||
|
<stackedEffectMultiplier>0.5</stackedEffectMultiplier>
|
||||||
|
<stages>
|
||||||
|
<li>
|
||||||
|
<label>passed by some lovin'</label>
|
||||||
|
<description>test</description>
|
||||||
|
<baseMoodEffect>0</baseMoodEffect>
|
||||||
|
</li>
|
||||||
|
</stages>
|
||||||
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawExhibitionism_Approved</defName>
|
||||||
|
<thoughtClass>Thought_Memory</thoughtClass>
|
||||||
|
<durationDays>1.0</durationDays>
|
||||||
|
<stackLimit>1</stackLimit>
|
||||||
|
<stackedEffectMultiplier>0.5</stackedEffectMultiplier>
|
||||||
|
<stages>
|
||||||
|
<li>
|
||||||
|
<label>observed some lovin'</label>
|
||||||
|
<description>test</description>
|
||||||
|
<baseMoodEffect>2</baseMoodEffect>
|
||||||
|
</li>
|
||||||
|
</stages>
|
||||||
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
</Defs>
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
<Defs>
|
<Defs>
|
||||||
|
|
||||||
<!--<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Prohibited</defName>
|
<defName>SawInfidelity_Heartbreaking</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<hediff>Indignant</hediff>
|
<hediff>Indignant</hediff>
|
||||||
|
@ -15,10 +15,14 @@
|
||||||
<baseMoodEffect>-15</baseMoodEffect>
|
<baseMoodEffect>-15</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>-1</Xenophobia>
|
||||||
|
</nullifyingTraitDegrees>
|
||||||
|
<reactionToSexAct>Outrage</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Horrible</defName>
|
<defName>SawInfidelity_Disapproved</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<hediff>Disquiet</hediff>
|
<hediff>Disquiet</hediff>
|
||||||
|
@ -30,10 +34,14 @@
|
||||||
<baseMoodEffect>-10</baseMoodEffect>
|
<baseMoodEffect>-10</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>-1</Xenophobia>
|
||||||
|
</nullifyingTraitDegrees>
|
||||||
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Acceptable</defName>
|
<defName>SawInfidelity_Acceptable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
|
@ -44,14 +52,14 @@
|
||||||
<baseMoodEffect>-4</baseMoodEffect>
|
<baseMoodEffect>-4</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
<nullifyingPrecepts>
|
<nullifyingTraitDegrees>
|
||||||
<li>Exhibitionism_Acceptable</li>
|
<Xenophobia>1</Xenophobia>
|
||||||
<li>Exhibitionism_Approved</li>
|
</nullifyingTraitDegrees>
|
||||||
<nullifyingPrecepts>
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
</ThoughtDef>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Preferred</defName>
|
<defName>SawInfidelity_Approved</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
|
@ -62,20 +70,10 @@
|
||||||
<baseMoodEffect>+1</baseMoodEffect>
|
<baseMoodEffect>+1</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>1</Xenophobia>
|
||||||
<ThoughtDef>
|
</nullifyingTraitDegrees>
|
||||||
<defName>SawHAR_AlienDating_Know_Honorable</defName>
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
<durationDays>3</durationDays>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
|
||||||
<stages>
|
|
||||||
<li>
|
|
||||||
<label>observed xenophilia</label>
|
|
||||||
<description>A blending of species will make us stronger.</description>
|
|
||||||
<baseMoodEffect>+2</baseMoodEffect>
|
|
||||||
</li>
|
|
||||||
</stages>
|
|
||||||
</ThoughtDef>-->
|
|
||||||
|
|
||||||
</Defs>
|
</Defs>
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<Defs>
|
<Defs>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawMasturbation_Abhorrent</defName>
|
<defName>SawMasturbation_Abhorrent</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -14,10 +14,11 @@
|
||||||
<description>You'll go blind you know!</description>
|
<description>You'll go blind you know!</description>
|
||||||
<baseMoodEffect>-15</baseMoodEffect>
|
<baseMoodEffect>-15</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<reactionToSexAct>Outrage</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawMasturbation_Disapproved</defName>
|
<defName>SawMasturbation_Disapproved</defName>
|
||||||
<thoughtClass>Thought_Memory</thoughtClass>
|
<thoughtClass>Thought_Memory</thoughtClass>
|
||||||
<durationDays>1.0</durationDays>
|
<durationDays>1.0</durationDays>
|
||||||
|
@ -30,10 +31,39 @@
|
||||||
<baseMoodEffect>-5</baseMoodEffect>
|
<baseMoodEffect>-5</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
<nullifyingPrecepts>
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
<li>Exhibitionism_Acceptable</li>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
<li>Exhibitionism_Approved</li>
|
|
||||||
</nullifyingPrecepts>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
</ThoughtDef>
|
<defName>SawMasturbation_Acceptable</defName>
|
||||||
|
<thoughtClass>Thought_Memory</thoughtClass>
|
||||||
|
<durationDays>1.0</durationDays>
|
||||||
|
<stackLimit>1</stackLimit>
|
||||||
|
<stackedEffectMultiplier>0.5</stackedEffectMultiplier>
|
||||||
|
<stages>
|
||||||
|
<li>
|
||||||
|
<label>saw someone masturbatin'</label>
|
||||||
|
<description>Argh! I'm so sorry!</description>
|
||||||
|
<baseMoodEffect>-5</baseMoodEffect>
|
||||||
|
</li>
|
||||||
|
</stages>
|
||||||
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawMasturbation_Approved</defName>
|
||||||
|
<thoughtClass>Thought_Memory</thoughtClass>
|
||||||
|
<durationDays>1.0</durationDays>
|
||||||
|
<stackLimit>1</stackLimit>
|
||||||
|
<stackedEffectMultiplier>0.5</stackedEffectMultiplier>
|
||||||
|
<stages>
|
||||||
|
<li>
|
||||||
|
<label>saw someone masturbatin'</label>
|
||||||
|
<description>Argh! I'm so sorry!</description>
|
||||||
|
<baseMoodEffect>-5</baseMoodEffect>
|
||||||
|
</li>
|
||||||
|
</stages>
|
||||||
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
|
|
||||||
<Defs>
|
<Defs>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawNecrophilia_Abhorrent</defName>
|
<defName>SawNecrophilia_Abhorrent</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<nullifyingTraits>
|
|
||||||
<li>Necrophiliac</li>
|
|
||||||
</nullifyingTraits>
|
|
||||||
<hediff>Nauseated</hediff>
|
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -18,16 +14,16 @@
|
||||||
<baseMoodEffect>-20</baseMoodEffect>
|
<baseMoodEffect>-20</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawNecrophilia_Horrible</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Necrophiliac</li>
|
<li>Necrophiliac</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
<hediff>Disquiet</hediff>
|
<reactionToSexAct>Outrage</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawNecrophilia_Horrible</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -36,16 +32,16 @@
|
||||||
<baseMoodEffect>-15</baseMoodEffect>
|
<baseMoodEffect>-15</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawNecrophilia_Disapproved</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Necrophiliac</li>
|
<li>Necrophiliac</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
<hediff>Disquiet</hediff>
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawNecrophilia_Disapproved</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -54,9 +50,13 @@
|
||||||
<baseMoodEffect>-10</baseMoodEffect>
|
<baseMoodEffect>-10</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraits>
|
||||||
|
<li>Necrophiliac</li>
|
||||||
|
</nullifyingTraits>
|
||||||
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawNecrophilia_Acceptable</defName>
|
<defName>SawNecrophilia_Acceptable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -66,15 +66,15 @@
|
||||||
<label>saw necrophilia</label>
|
<label>saw necrophilia</label>
|
||||||
<description>I just hope they bury it when they're done.</description>
|
<description>I just hope they bury it when they're done.</description>
|
||||||
<baseMoodEffect>-4</baseMoodEffect>
|
<baseMoodEffect>-4</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
<nullifyingPrecepts>
|
<nullifyingTraits>
|
||||||
<li>Exhibitionism_Acceptable</li>
|
<li>Necrophiliac</li>
|
||||||
<li>Exhibitionism_Approved</li>
|
</nullifyingTraits>
|
||||||
</nullifyingPrecepts>
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
</ThoughtDef>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawNecrophilia_Honorable</defName>
|
<defName>SawNecrophilia_Honorable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -86,6 +86,7 @@
|
||||||
<baseMoodEffect>+2</baseMoodEffect>
|
<baseMoodEffect>+2</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
|
|
||||||
<Defs>
|
<Defs>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawRape_Abhorrent</defName>
|
<defName>SawRape_Abhorrent</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
<nullifyingTraits>
|
|
||||||
<li>Rapist</li>
|
|
||||||
</nullifyingTraits>
|
|
||||||
<hediff>Panicked</hediff>
|
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -18,16 +14,16 @@
|
||||||
<baseMoodEffect>-20</baseMoodEffect>
|
<baseMoodEffect>-20</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawRape_Horrible</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Rapist</li>
|
<li>Rapist</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
<hediff>Disquiet</hediff>
|
<reactionToSexAct>Outrage</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawRape_Horrible</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
|
@ -36,27 +32,31 @@
|
||||||
<baseMoodEffect>-15</baseMoodEffect>
|
<baseMoodEffect>-15</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
|
||||||
|
|
||||||
<ThoughtDef>
|
|
||||||
<defName>SawRape_Disapproved</defName>
|
|
||||||
<durationDays>3</durationDays>
|
|
||||||
<stackLimit>3</stackLimit>
|
|
||||||
<nullifyingTraits>
|
<nullifyingTraits>
|
||||||
<li>Rapist</li>
|
<li>Rapist</li>
|
||||||
</nullifyingTraits>
|
</nullifyingTraits>
|
||||||
<hediff>Disquiet</hediff>
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
|
<Privacy_Please.SexActThoughtDef>
|
||||||
|
<defName>SawRape_Disapproved</defName>
|
||||||
|
<durationDays>3</durationDays>
|
||||||
|
<stackLimit>3</stackLimit>
|
||||||
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>
|
||||||
<stages>
|
<stages>
|
||||||
<li>
|
<li>
|
||||||
<label>witnessed rape</label>
|
<label>witnessed rape</label>
|
||||||
<description>Is this what life is going to be here?</description>
|
<description>Is this what life is going to be like here?</description>
|
||||||
<baseMoodEffect>-10</baseMoodEffect>
|
<baseMoodEffect>-10</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraits>
|
||||||
|
<li>Rapist</li>
|
||||||
|
</nullifyingTraits>
|
||||||
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawRape_Acceptable</defName>
|
<defName>SawRape_Acceptable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -68,13 +68,13 @@
|
||||||
<baseMoodEffect>-4</baseMoodEffect>
|
<baseMoodEffect>-4</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
<nullifyingPrecepts>
|
<nullifyingTraits>
|
||||||
<li>Exhibitionism_Acceptable</li>
|
<li>Rapist</li>
|
||||||
<li>Exhibitionism_Approved</li>
|
</nullifyingTraits>
|
||||||
</nullifyingPrecepts>
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
</ThoughtDef>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawRape_Honorable</defName>
|
<defName>SawRape_Honorable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -86,6 +86,7 @@
|
||||||
<baseMoodEffect>+2</baseMoodEffect>
|
<baseMoodEffect>+2</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<Defs>
|
<Defs>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Prohibited</defName>
|
<defName>SawHAR_AlienDating_Prohibited</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -15,9 +15,13 @@
|
||||||
<baseMoodEffect>-15</baseMoodEffect>
|
<baseMoodEffect>-15</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>-1</Xenophobia>
|
||||||
|
</nullifyingTraitDegrees>
|
||||||
|
<reactionToSexAct>Outrage</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Horrible</defName>
|
<defName>SawHAR_AlienDating_Horrible</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -30,9 +34,13 @@
|
||||||
<baseMoodEffect>-10</baseMoodEffect>
|
<baseMoodEffect>-10</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>-1</Xenophobia>
|
||||||
|
</nullifyingTraitDegrees>
|
||||||
|
<reactionToSexAct>Discomfort</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Acceptable</defName>
|
<defName>SawHAR_AlienDating_Acceptable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -44,13 +52,13 @@
|
||||||
<baseMoodEffect>-4</baseMoodEffect>
|
<baseMoodEffect>-4</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
<nullifyingPrecepts>
|
<nullifyingTraitDegrees>
|
||||||
<li>Exhibitionism_Acceptable</li>
|
<Xenophobia>1</Xenophobia>
|
||||||
<li>Exhibitionism_Approved</li>
|
</nullifyingTraitDegrees>
|
||||||
</nullifyingPrecepts>
|
<reactionToSexAct>Acceptance</reactionToSexAct>
|
||||||
</ThoughtDef>
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Preferred</defName>
|
<defName>SawHAR_AlienDating_Preferred</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -62,9 +70,13 @@
|
||||||
<baseMoodEffect>+1</baseMoodEffect>
|
<baseMoodEffect>+1</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>1</Xenophobia>
|
||||||
|
</nullifyingTraitDegrees>
|
||||||
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
<ThoughtDef>
|
<Privacy_Please.SexActThoughtDef>
|
||||||
<defName>SawHAR_AlienDating_Know_Honorable</defName>
|
<defName>SawHAR_AlienDating_Know_Honorable</defName>
|
||||||
<durationDays>3</durationDays>
|
<durationDays>3</durationDays>
|
||||||
<stackLimit>3</stackLimit>
|
<stackLimit>3</stackLimit>
|
||||||
|
@ -76,6 +88,10 @@
|
||||||
<baseMoodEffect>+2</baseMoodEffect>
|
<baseMoodEffect>+2</baseMoodEffect>
|
||||||
</li>
|
</li>
|
||||||
</stages>
|
</stages>
|
||||||
</ThoughtDef>
|
<nullifyingTraitDegrees>
|
||||||
|
<Xenophobia>1</Xenophobia>
|
||||||
|
</nullifyingTraitDegrees>
|
||||||
|
<reactionToSexAct>Approval</reactionToSexAct>
|
||||||
|
</Privacy_Please.SexActThoughtDef>
|
||||||
|
|
||||||
</Defs>
|
</Defs>
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
bool isXenophobe = pawn.HasTrait("Xenophobia") && pawn.story.traits.DegreeOfTrait(DefDatabase<TraitDef>.GetNamedSilentFail("Xenophobia")) > 0;
|
||||||
|
bool isXenophile = pawn.HasTrait("Xenophobia") && pawn.story.traits.DegreeOfTrait(DefDatabase<TraitDef>.GetNamedSilentFail("Xenophobia")) < 0;
|
||||||
|
|
||||||
|
public static ThoughtDef GetThoughtsAboutSexAct(Pawn pawn, JobDriver_Sex jobDriver, out Precept precept)
|
||||||
|
{
|
||||||
|
ThoughtDef thoughtDef = null;
|
||||||
|
precept = null;
|
||||||
|
|
||||||
|
if (pawn == null || jobDriver == null) return null;
|
||||||
|
if (BasicSettings.slavesIgnoreSex && (pawn.IsPrisoner || pawn.IsSlave)) return null;
|
||||||
|
if (BasicSettings.otherFactionsIgnoreSex && pawn.Faction.IsPlayer == false) return null;
|
||||||
|
|
||||||
|
|
||||||
|
if (BasicSettings.worryAboutNecro && sexIsNecro && xxx.is_necrophiliac(pawn) == false)
|
||||||
|
{
|
||||||
|
thoughtDef = xxx.is_necrophiliac(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawNecrophilia_Honorable") :
|
||||||
|
pawn.HasPreceptForIssue("Necrophilia", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
||||||
|
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawNecrophilia_Abhorrent");
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (BasicSettings.worryAboutBeastiality && sexIsBeastial)
|
||||||
|
{
|
||||||
|
thoughtDef = xxx.is_zoophile(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawBeastility_Honorable") :
|
||||||
|
pawn.HasPreceptForIssue("Beastility", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
||||||
|
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawBeastility_Abhorrent");
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (BasicSettings.worryAboutRape && BasicSettings.ignoreSlaveRape == false && sexIsSlaveRape)
|
||||||
|
{
|
||||||
|
thoughtDef = xxx.is_rapist(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Honorable") :
|
||||||
|
pawn.HasPreceptForIssue("Rape", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
||||||
|
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Abhorrent");
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (BasicSettings.worryAboutRape && sexIsRape)
|
||||||
|
{
|
||||||
|
thoughtDef = xxx.is_rapist(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Honorable") :
|
||||||
|
pawn.HasPreceptForIssue("Rape", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
||||||
|
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Abhorrent");
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (BasicSettings.worryAboutXeno && sexIsXeno)
|
||||||
|
{
|
||||||
|
thoughtDef = isXenophobe ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawHAR_AlienDating_Prohibited") :
|
||||||
|
isXenophile ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawHAR_AlienDating_Honorable") :
|
||||||
|
pawn.HasPreceptForIssue("HAR_AlienDating", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
||||||
|
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawHAR_AlienDating_Acceptable");
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (BasicSettings.worryAboutMasturbation && sexIsSolo)
|
||||||
|
{
|
||||||
|
thoughtDef = pawn.HasPreceptForIssue("Masturbation", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
||||||
|
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawMasturbation_Disapproved");
|
||||||
|
}
|
||||||
|
|
||||||
|
DebugMode.Message("Sex job is: " + jobDriver + " Issue is: " + (precept?.def?.issue?.defName).ToStringSafe() + " Opinion is: " + (precept?.def?.defName).ToStringSafe() + " Thought is: " + (thoughtDef?.defName).ToStringSafe());
|
||||||
|
|
||||||
|
return thoughtDef;
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,105 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Verse;
|
||||||
|
using RimWorld;
|
||||||
|
using rjw;
|
||||||
|
|
||||||
|
namespace Privacy_Please
|
||||||
|
{
|
||||||
|
public class SexActReactionDef : Def
|
||||||
|
{
|
||||||
|
public string issueDefName;
|
||||||
|
public string sexActCheck;
|
||||||
|
public SubSexActReactionDef pawnReaction;
|
||||||
|
public SubSexActReactionDef witnessReaction;
|
||||||
|
|
||||||
|
private IssueDef _issueDef;
|
||||||
|
private bool _checkedForIssueDef;
|
||||||
|
|
||||||
|
public IssueDef issueDef
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_checkedForIssueDef == false)
|
||||||
|
{ _issueDef = DefDatabase<IssueDef>.GetNamedSilentFail(issueDefName); _checkedForIssueDef = true; }
|
||||||
|
|
||||||
|
return _issueDef;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class SubSexActReactionDef
|
||||||
|
{
|
||||||
|
public SexActThoughtDef defaultThoughtDef;
|
||||||
|
public List<SexActThoughtDef> associatedThoughtDefs;
|
||||||
|
public List<ReplacementThought> replacementThoughts;
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ReplacementThought
|
||||||
|
{
|
||||||
|
public List<TraitRequirement> requiredTraits;
|
||||||
|
public string requiredQuirk;
|
||||||
|
public SexActThoughtDef replacementThoughtDef;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReactionToSexAct DetermineReactionOfPawns(Pawn pawn, Pawn witness, bool applyThoughtDefs)
|
||||||
|
{
|
||||||
|
DetermineReactionOfPawn(pawn, witness, pawnReaction, applyThoughtDefs);
|
||||||
|
ReactionToSexAct reactionToSexAct = DetermineReactionOfPawn(witness, pawn, witnessReaction, applyThoughtDefs);
|
||||||
|
|
||||||
|
return reactionToSexAct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReactionToSexAct DetermineReactionOfPawn(Pawn reactor, Pawn otherPawn, SubSexActReactionDef reaction, bool applyThoughtDef)
|
||||||
|
{
|
||||||
|
SexActThoughtDef thoughtDef = GetThoughtDefForReactor(reactor, reaction, out Precept precept);
|
||||||
|
ReactionToSexAct reactionToSexAct = thoughtDef.reactionToSexAct;
|
||||||
|
|
||||||
|
if (applyThoughtDef)
|
||||||
|
{ reactor.needs.mood.thoughts.memories.TryGainMemory(thoughtDef, otherPawn, precept); }
|
||||||
|
|
||||||
|
var nullifyingTraits = ThoughtUtility.GetNullifyingTraits(thoughtDef)?.ToList();
|
||||||
|
|
||||||
|
if (thoughtDef.stages[0].baseMoodEffect < 0 && nullifyingTraits?.Any(x => x.HasTrait(reactor)) != true)
|
||||||
|
{ reactor.TryGetComp<CompPawnThoughtData>()?.TryToExclaim(); }
|
||||||
|
|
||||||
|
return reactionToSexAct;
|
||||||
|
}
|
||||||
|
|
||||||
|
private SexActThoughtDef GetThoughtDefForReactor(Pawn reactor, SubSexActReactionDef reaction, out Precept precept)
|
||||||
|
{
|
||||||
|
precept = null;
|
||||||
|
|
||||||
|
if (reactor == null || reaction == null) return null;
|
||||||
|
|
||||||
|
if (reaction.replacementThoughts.NullOrEmpty() == false)
|
||||||
|
{
|
||||||
|
foreach (ReplacementThought replacementThought in reaction.replacementThoughts)
|
||||||
|
{
|
||||||
|
if (replacementThought?.requiredTraits.Any(x => x.HasTrait(reactor)) == true)
|
||||||
|
{ return replacementThought.replacementThoughtDef; }
|
||||||
|
|
||||||
|
if (replacementThought.requiredQuirk != null && xxx.has_quirk(reactor, replacementThought.requiredQuirk))
|
||||||
|
{ return replacementThought.replacementThoughtDef; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
precept = reactor.GetPreceptForIssue(issueDef);
|
||||||
|
|
||||||
|
if (precept != null && reaction.associatedThoughtDefs.NullOrEmpty() == false)
|
||||||
|
{
|
||||||
|
string thoughtDefName = precept.def.defName;
|
||||||
|
|
||||||
|
foreach (SexActThoughtDef associatedThoughtDef in reaction.associatedThoughtDefs)
|
||||||
|
{
|
||||||
|
if (associatedThoughtDef.defName.Contains(thoughtDefName))
|
||||||
|
{ return associatedThoughtDef; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return reaction.defaultThoughtDef;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using RimWorld;
|
||||||
|
|
||||||
|
namespace Privacy_Please
|
||||||
|
{
|
||||||
|
public class SexActThoughtDef : ThoughtDef
|
||||||
|
{
|
||||||
|
public ReactionToSexAct reactionToSexAct = ReactionToSexAct.Acceptance;
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,19 +11,19 @@ using HarmonyLib;
|
||||||
|
|
||||||
namespace Privacy_Please
|
namespace Privacy_Please
|
||||||
{
|
{
|
||||||
public static class PawnExtension
|
public static class PawnExtension
|
||||||
{
|
{
|
||||||
public static bool IsInBed(this Pawn pawn, out Building bed)
|
public static bool IsInBed(this Pawn pawn, out Building bed)
|
||||||
{
|
{
|
||||||
bed = pawn.Position.GetThingList(pawn.Map).FirstOrDefault(x => x is Building_Bed) as Building;
|
bed = pawn.Position.GetThingList(pawn.Map).FirstOrDefault(x => x is Building_Bed) as Building;
|
||||||
return bed != null;
|
return bed != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsSeated(this Pawn pawn, out Building seat)
|
public static bool IsSeated(this Pawn pawn, out Building seat)
|
||||||
{
|
{
|
||||||
seat = pawn.Position.GetThingList(pawn.Map).FirstOrDefault(x => x is Building && x.def.building.isSittable) as Building;
|
seat = pawn.Position.GetThingList(pawn.Map).FirstOrDefault(x => x is Building && x.def.building.isSittable) as Building;
|
||||||
return seat != null;
|
return seat != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsHavingSex(this Pawn pawn)
|
public static bool IsHavingSex(this Pawn pawn)
|
||||||
{
|
{
|
||||||
|
@ -82,9 +82,9 @@ namespace Privacy_Please
|
||||||
|
|
||||||
if (pawn?.jobs?.curDriver == null || (pawn.jobs.curDriver is JobDriver_Sex) == false)
|
if (pawn?.jobs?.curDriver == null || (pawn.jobs.curDriver is JobDriver_Sex) == false)
|
||||||
{ return participants; }
|
{ return participants; }
|
||||||
|
|
||||||
if (pawn.GetSexReceiver() != null)
|
if (pawn.GetSexReceiver() != null)
|
||||||
{
|
{
|
||||||
List<Pawn> partners = (pawn.GetSexReceiver().jobs.curDriver as JobDriver_SexBaseReciever).parteners.ToList();
|
List<Pawn> partners = (pawn.GetSexReceiver().jobs.curDriver as JobDriver_SexBaseReciever).parteners.ToList();
|
||||||
|
|
||||||
if (partners != null)
|
if (partners != null)
|
||||||
|
@ -96,17 +96,17 @@ namespace Privacy_Please
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pawn.GetSexInitiator() != null)
|
if (pawn.GetSexInitiator() != null)
|
||||||
{
|
{
|
||||||
Pawn partner = (pawn.GetSexInitiator().jobs.curDriver as JobDriver_SexBaseInitiator).Partner;
|
Pawn partner = (pawn.GetSexInitiator().jobs.curDriver as JobDriver_SexBaseInitiator).Partner;
|
||||||
|
|
||||||
if (partner != null && partner.Dead == false)
|
if (partner != null && partner.Dead == false)
|
||||||
{ participants.AddDistinct(partner); }
|
{ participants.AddDistinct(partner); }
|
||||||
}
|
}
|
||||||
|
|
||||||
participants.AddDistinct(pawn);
|
participants.AddDistinct(pawn);
|
||||||
|
|
||||||
return participants;
|
return participants;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,121 +119,23 @@ namespace Privacy_Please
|
||||||
return lovers.Any(x => x.otherPawn == other);
|
return lovers.Any(x => x.otherPawn == other);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool HasPrivacy(this Pawn pawn, float radius)
|
//public static bool GetThoughtOnIssue(this Pawn pawn, string issueDefName, out Precept precept)
|
||||||
|
//{
|
||||||
|
|
||||||
|
//}
|
||||||
|
|
||||||
|
public static Precept GetPreceptForIssue(this Pawn pawn, IssueDef issueDef)
|
||||||
{
|
{
|
||||||
if (pawn.UnworriedAboutHumanSex() == false)
|
if (issueDef == null || pawn?.Ideo == null)
|
||||||
{ return true; }
|
{ return null; }
|
||||||
|
|
||||||
if (pawn.IsHavingSex() == false && pawn.IsMasturbating() == false)
|
foreach (Precept precept in pawn.Ideo.PreceptsListForReading)
|
||||||
{ return true; }
|
|
||||||
|
|
||||||
if (pawn.GetLord() != null && (pawn.GetLord().LordJob is LordJob_Ritual || pawn.GetLord().LordJob is LordJob_Joinable_Party) && BasicSettings.ignoreRitualAndPartySex)
|
|
||||||
{ return true; }
|
|
||||||
|
|
||||||
bool hasPrivacy = true;
|
|
||||||
pawn.IsInBed(out Building bed);
|
|
||||||
|
|
||||||
foreach (Thing thing in GenRadial.RadialDistinctThingsAround(pawn.Position, pawn.Map, radius, true))
|
|
||||||
{
|
{
|
||||||
Pawn witness = thing as Pawn;
|
if (precept.def.issue == issueDef)
|
||||||
if (witness == null) continue;
|
{ return precept; }
|
||||||
|
|
||||||
// Caught having sex
|
|
||||||
if (SexInteractionUtility.PawnCaughtLovinByWitness(pawn, witness))
|
|
||||||
{
|
|
||||||
// Try to invite intruder to join in
|
|
||||||
if (SexInteractionUtility.InvitePasserbyForSex(pawn, witness, out bool brokeTaboo))
|
|
||||||
{
|
|
||||||
if (pawn.IsMasturbating())
|
|
||||||
{
|
|
||||||
if (bed == null)
|
|
||||||
{
|
|
||||||
Job job = new Job(xxx.quick_sex, pawn);
|
|
||||||
witness.jobs.TryTakeOrderedJob(job);
|
|
||||||
}
|
|
||||||
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Job job = new Job(xxx.casual_sex, pawn, bed);
|
|
||||||
witness.jobs.TryTakeOrderedJob(job);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (pawn.GetSexReceiver() != null)
|
|
||||||
{
|
|
||||||
Job job = new Job(DefDatabase<JobDef>.GetNamed("JoinInSex", false), pawn.GetSexReceiver(), bed);
|
|
||||||
witness.jobs.TryTakeOrderedJob(job);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Voyeurs and cuckolds like to watch
|
|
||||||
else if (CasualSex_Helper.CanHaveSex(witness) && xxx.IsTargetPawnOkay(witness) &&
|
|
||||||
(xxx.has_quirk(witness, "Voyeur") || (xxx.has_quirk(witness, "Cuckold") && SexInteractionUtility.SexParticipantsIncludesACheatingPartner(witness, pawn.GetAllSexParticipants()))))
|
|
||||||
{
|
|
||||||
Job job = new Job(DefDatabase<JobDef>.GetNamed("WatchSex", false), pawn.GetSexReceiver(), bed);
|
|
||||||
witness.jobs.TryTakeOrderedJob(job);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Do nothing if witness is a lover and no taboo was not broken
|
|
||||||
else if (brokeTaboo == false && witness.IsLoverOfOther(pawn))
|
|
||||||
{ }
|
|
||||||
|
|
||||||
// Privacy was breached
|
|
||||||
else
|
|
||||||
{ hasPrivacy = false; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return BasicSettings.needPrivacy == false ||
|
return null;
|
||||||
hasPrivacy ||
|
|
||||||
xxx.has_quirk(pawn, "Exhibitionist") ||
|
|
||||||
pawn?.ideo?.Ideo.HasPrecept(ModPreceptDefOf.Exhibitionism_Acceptable) == true ||
|
|
||||||
pawn?.ideo?.Ideo.HasPrecept(ModPreceptDefOf.Exhibitionism_Approved) == true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static bool HasPreceptForIssue(this Pawn pawn, string issueDefName, out Precept precept)
|
|
||||||
{
|
|
||||||
precept = null;
|
|
||||||
|
|
||||||
if (pawn?.Ideo == null)
|
|
||||||
{ return false; }
|
|
||||||
|
|
||||||
foreach (Precept _precept in pawn.Ideo.PreceptsListForReading)
|
|
||||||
{
|
|
||||||
if (_precept.def.issue.defName == issueDefName)
|
|
||||||
{
|
|
||||||
precept = _precept;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static bool EnjoysViolence(this Pawn pawn)
|
|
||||||
{
|
|
||||||
if (pawn.IsAnimal() || pawn.RaceProps.IsMechanoid)
|
|
||||||
{ return true; }
|
|
||||||
|
|
||||||
if (pawn?.story?.traits?.allTraits == null || pawn?.story?.traits?.allTraits.NullOrEmpty() == true)
|
|
||||||
{ return false; }
|
|
||||||
|
|
||||||
List<string> traits = new List<string>() { "Brawler", "Psychopath", "Bloodlust" };
|
|
||||||
|
|
||||||
return pawn.story.traits.allTraits.Any(x => traits.Contains(x.def.defName));
|
|
||||||
}
|
|
||||||
|
|
||||||
public static bool DislikesViolence(this Pawn pawn)
|
|
||||||
{
|
|
||||||
if (pawn.IsAnimal() || pawn.RaceProps.IsMechanoid)
|
|
||||||
{ return false; }
|
|
||||||
|
|
||||||
if (pawn?.story?.traits?.allTraits == null || pawn?.story?.traits?.allTraits.NullOrEmpty() == true)
|
|
||||||
{ return false; }
|
|
||||||
|
|
||||||
List<string> traits = new List<string>() { "Kind", "Wimp" };
|
|
||||||
|
|
||||||
return pawn.WorkTagIsDisabled(WorkTags.Violent) || pawn.story.traits.allTraits.Any(x => traits.Contains(x.def.defName));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool HasTrait(this Pawn pawn, string trait)
|
public static bool HasTrait(this Pawn pawn, string trait)
|
||||||
|
@ -260,14 +162,45 @@ namespace Privacy_Please
|
||||||
return pawn.story.traits.HasTrait(traitDef);
|
return pawn.story.traits.HasTrait(traitDef);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool UnworriedAboutHumanSex(this Pawn pawn)
|
public static bool IsUnfazedBySex(this Pawn pawn)
|
||||||
{
|
{
|
||||||
return (pawn.Dead ||
|
if (pawn.Dead ||
|
||||||
pawn.AnimalOrWildMan() ||
|
pawn.AnimalOrWildMan() ||
|
||||||
pawn.RaceProps.IsMechanoid ||
|
pawn.RaceProps.IsMechanoid ||
|
||||||
pawn.Awake() == false ||
|
pawn.Awake() == false ||
|
||||||
pawn.Suspended == false ||
|
pawn.Suspended)
|
||||||
(pawn.Faction != null && pawn.Faction.HostileTo(Faction.OfPlayer))) == false;
|
{ return true; }
|
||||||
|
|
||||||
|
if (BasicSettings.slavesIgnoreSex && (pawn.IsPrisoner || pawn.IsSlave)) return true;
|
||||||
|
if (BasicSettings.otherFactionsIgnoreSex && pawn.Faction.IsPlayer == false) return true;
|
||||||
|
if (pawn.Faction.HostileTo(Faction.OfPlayer)) return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsPartOfRitualOrGathering(this Pawn pawn)
|
||||||
|
{
|
||||||
|
return pawn.GetLord() != null && (pawn.GetLord().LordJob is LordJob_Ritual || pawn.GetLord().LordJob is LordJob_Joinable_Party);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsVictim(this Pawn pawn)
|
||||||
|
{
|
||||||
|
return pawn.CurJob.def == xxx.gettin_raped || pawn.Dead;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsExhibitionist(this Pawn pawn)
|
||||||
|
{
|
||||||
|
return xxx.has_quirk(pawn, "Exhibitionist") || pawn?.ideo?.Ideo.HasPrecept(ModPreceptDefOf.Exhibitionism_Approved) == true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsVoyeur(this Pawn pawn)
|
||||||
|
{
|
||||||
|
return xxx.has_quirk(pawn, "Voyeur");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsCuckold(this Pawn pawn)
|
||||||
|
{
|
||||||
|
return xxx.has_quirk(pawn, "Cuckold");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace Privacy_Please
|
||||||
{
|
{
|
||||||
static Harmony_PatchAll()
|
static Harmony_PatchAll()
|
||||||
{
|
{
|
||||||
Harmony harmony = new Harmony("Rimworld_Animations_Patch");
|
Harmony harmony = new Harmony("Privacy_Please");
|
||||||
harmony.PatchAll(Assembly.GetExecutingAssembly());
|
harmony.PatchAll(Assembly.GetExecutingAssembly());
|
||||||
|
|
||||||
// Add quirks to game
|
// Add quirks to game
|
||||||
|
@ -24,6 +24,8 @@ namespace Privacy_Please
|
||||||
|
|
||||||
Quirk cuckold = new Quirk("Cuckold", "CuckoldQuirk");
|
Quirk cuckold = new Quirk("Cuckold", "CuckoldQuirk");
|
||||||
Quirk.All.AddDistinct(cuckold);
|
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))
|
foreach (Thing thing in GenRadial.RadialDistinctThingsAround(pawn.Position, pawn.Map, radius, true))
|
||||||
{
|
{
|
||||||
Pawn other = thing as Pawn;
|
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
|
// Find candidates to invite
|
||||||
if (other != null && thoughtDef?.hediff == null && SexInteractionUtility.CouldInvitePasserbyForSex(other, pawn.GetAllSexParticipants()))
|
if (other != null && thoughtDef?.hediff == null && SexInteractionUtility.CouldInvitePasserbyForSex(other, pawn.GetAllSexParticipants()))
|
||||||
|
@ -64,7 +64,7 @@ namespace Privacy_Please
|
||||||
{
|
{
|
||||||
if (pawn.IsHashIntervalTick(90))
|
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); }
|
{ pawn.jobs.EndCurrentJob(JobCondition.InterruptForced, false, false); }
|
||||||
|
|
||||||
else if (pawn.IsHavingSex())
|
else if (pawn.IsHavingSex())
|
||||||
|
@ -74,7 +74,7 @@ namespace Privacy_Please
|
||||||
|
|
||||||
foreach (Pawn participant in participants)
|
foreach (Pawn participant in participants)
|
||||||
{
|
{
|
||||||
if (participant.HasPrivacy(8f) == false)
|
if (PrivacyUtility.PawnHasPrivacy(participant, 8f) == false)
|
||||||
{ havePrivacy = false; }
|
{ havePrivacy = false; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace Privacy_Please
|
||||||
public static void Message(string text)
|
public static void Message(string text)
|
||||||
{
|
{
|
||||||
if (BasicSettings.debugMode)
|
if (BasicSettings.debugMode)
|
||||||
{ Log.Message("[DEBUG] " + text); }
|
{ Log.Message("[Privacy, Please!] " + text); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
namespace Privacy_Please
|
||||||
|
{
|
||||||
|
public enum ReactionToSexAct
|
||||||
|
{
|
||||||
|
Approval = 1,
|
||||||
|
Acceptance = 0,
|
||||||
|
Discomfort = -1,
|
||||||
|
Outrage = -2,
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,84 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using RimWorld;
|
||||||
|
using Verse;
|
||||||
|
using Verse.AI;
|
||||||
|
using Verse.AI.Group;
|
||||||
|
using rjw;
|
||||||
|
|
||||||
|
namespace Privacy_Please
|
||||||
|
{
|
||||||
|
public static class PrivacyUtility
|
||||||
|
{
|
||||||
|
public static bool PawnHasPrivacy(Pawn pawn, float radius)
|
||||||
|
{
|
||||||
|
//if (pawn.IsUnfazedBySex())
|
||||||
|
//{ return true; }
|
||||||
|
|
||||||
|
if (pawn.IsHavingSex() == false && pawn.IsMasturbating() == false)
|
||||||
|
{ return true; }
|
||||||
|
|
||||||
|
//if (pawn.GetLord() != null && (pawn.GetLord().LordJob is LordJob_Ritual || pawn.GetLord().LordJob is LordJob_Joinable_Party) && BasicSettings.ignoreRitualAndPartySex)
|
||||||
|
//{ return true; }
|
||||||
|
|
||||||
|
bool hasPrivacy = true;
|
||||||
|
pawn.IsInBed(out Building bed);
|
||||||
|
|
||||||
|
foreach (Thing thing in GenRadial.RadialDistinctThingsAround(pawn.Position, pawn.Map, radius, true))
|
||||||
|
{
|
||||||
|
Pawn witness = thing as Pawn;
|
||||||
|
if (witness == null) continue;
|
||||||
|
|
||||||
|
// Caught having sex
|
||||||
|
if (SexInteractionUtility.PawnCaughtLovinByWitness(pawn, witness))
|
||||||
|
{
|
||||||
|
// Try to invite intruder to join in
|
||||||
|
if (SexInteractionUtility.GetReactionToSexAct(witness, pawn.jobs.curDriver as JobDriver_Sex) >= (int)ReactionToSexAct.Acceptance)
|
||||||
|
{
|
||||||
|
// TODO roll for sex
|
||||||
|
|
||||||
|
if (CasualSex_Helper.CanHaveSex(witness) && xxx.IsTargetPawnOkay(witness) &&
|
||||||
|
(xxx.has_quirk(witness, "Voyeur") || (xxx.has_quirk(witness, "Cuckold") && SexInteractionUtility.SexParticipantsIncludesACheatingPartner(witness, pawn.GetAllSexParticipants()))))
|
||||||
|
{
|
||||||
|
Job job = new Job(DefDatabase<JobDef>.GetNamed("WatchSex", false), pawn.GetSexReceiver(), bed);
|
||||||
|
witness.jobs.TryTakeOrderedJob(job);
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (pawn.IsMasturbating())
|
||||||
|
{
|
||||||
|
if (bed == null)
|
||||||
|
{
|
||||||
|
Job job = new Job(xxx.quick_sex, pawn);
|
||||||
|
witness.jobs.TryTakeOrderedJob(job);
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Job job = new Job(xxx.casual_sex, pawn, bed);
|
||||||
|
witness.jobs.TryTakeOrderedJob(job);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (pawn.GetSexReceiver() != null)
|
||||||
|
{
|
||||||
|
Job job = new Job(DefDatabase<JobDef>.GetNamed("JoinInSex", false), pawn.GetSexReceiver(), bed);
|
||||||
|
witness.jobs.TryTakeOrderedJob(job);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{ hasPrivacy = false; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return BasicSettings.needPrivacy == false ||
|
||||||
|
hasPrivacy ||
|
||||||
|
xxx.has_quirk(pawn, "Exhibitionist") ||
|
||||||
|
pawn?.ideo?.Ideo.HasPrecept(ModPreceptDefOf.Exhibitionism_Acceptable) == true ||
|
||||||
|
pawn?.ideo?.Ideo.HasPrecept(ModPreceptDefOf.Exhibitionism_Approved) == true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,6 +6,7 @@ using Verse.AI.Group;
|
||||||
using RimWorld;
|
using RimWorld;
|
||||||
using rjw;
|
using rjw;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using HarmonyLib;
|
||||||
|
|
||||||
namespace Privacy_Please
|
namespace Privacy_Please
|
||||||
{
|
{
|
||||||
|
@ -13,10 +14,12 @@ namespace Privacy_Please
|
||||||
{
|
{
|
||||||
public static bool PawnCaughtLovinByWitness(Pawn pawn, Pawn witness)
|
public static bool PawnCaughtLovinByWitness(Pawn pawn, Pawn witness)
|
||||||
{
|
{
|
||||||
|
return true;
|
||||||
|
|
||||||
if (witness == null ||
|
if (witness == null ||
|
||||||
pawn == witness ||
|
pawn == witness ||
|
||||||
(pawn.IsMasturbating() == false && pawn.IsHavingSex() == false) ||
|
(pawn.IsMasturbating() == false && pawn.IsHavingSex() == false) ||
|
||||||
witness.UnworriedAboutHumanSex() == false ||
|
witness.IsUnfazedBySex() == false ||
|
||||||
witness.CanSee(pawn) == false)
|
witness.CanSee(pawn) == false)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
|
||||||
|
@ -25,7 +28,7 @@ namespace Privacy_Please
|
||||||
|
|
||||||
if (sexParticipants.Contains(witness) || witnessIsApproachingSexParticipant)
|
if (sexParticipants.Contains(witness) || witnessIsApproachingSexParticipant)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +66,7 @@ namespace Privacy_Please
|
||||||
{
|
{
|
||||||
if (passerby == null ||
|
if (passerby == null ||
|
||||||
participants.Contains(passerby) ||
|
participants.Contains(passerby) ||
|
||||||
passerby.UnworriedAboutHumanSex() == false ||
|
passerby.IsUnfazedBySex() == false ||
|
||||||
participants.All(x => x.CanSee(passerby) == false))
|
participants.All(x => x.CanSee(passerby) == false))
|
||||||
{ return false; }
|
{ return false; }
|
||||||
|
|
||||||
|
@ -90,214 +93,62 @@ namespace Privacy_Please
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ThoughtDef GetThoughtsAboutSexAct(Pawn pawn, JobDriver_Sex jobDriver, out Precept precept)
|
public static ReactionToSexAct GetReactionToSexAct(Pawn witness, JobDriver_Sex jobDriver, bool applyThoughtDefs = false)
|
||||||
{
|
{
|
||||||
ThoughtDef thoughtDef = null;
|
Pawn pawn = jobDriver.pawn;
|
||||||
precept = null;
|
ReactionToSexAct reactionOfWitness = ReactionToSexAct.Acceptance;
|
||||||
|
|
||||||
if (pawn == null || jobDriver == null) return null;
|
|
||||||
if (BasicSettings.slavesIgnoreSex && (pawn.IsPrisoner || pawn.IsSlave)) return null;
|
|
||||||
if (BasicSettings.otherFactionsIgnoreSex && pawn.Faction.IsPlayer == false) return null;
|
|
||||||
|
|
||||||
bool sexIsNecro = jobDriver.Partner != null && jobDriver.Partner.Dead;
|
|
||||||
bool sexIsBeastial = jobDriver.Partner != null && jobDriver.Partner.RaceProps.Animal;
|
|
||||||
bool sexIsRape = sexIsBeastial == false && sexIsNecro == false &&
|
|
||||||
(jobDriver is JobDriver_Rape || jobDriver is JobDriver_RapeEnemy || jobDriver is JobDriver_SexBaseRecieverRaped);
|
|
||||||
bool sexIsSlaveRape = sexIsRape && (jobDriver.Partner.IsPrisoner || jobDriver.Partner.IsSlave);
|
|
||||||
bool sexIsXeno = jobDriver.Partner != null && jobDriver.Partner.def.defName != jobDriver.pawn.def.defName;
|
|
||||||
bool isXenophobe = pawn.HasTrait("Xenophobia") && pawn.story.traits.DegreeOfTrait(DefDatabase<TraitDef>.GetNamedSilentFail("Xenophobia")) > 0;
|
|
||||||
bool isXenophile = pawn.HasTrait("Xenophobia") && pawn.story.traits.DegreeOfTrait(DefDatabase<TraitDef>.GetNamedSilentFail("Xenophobia")) < 0;
|
|
||||||
bool sexIsSolo = jobDriver.pawn.IsMasturbating();
|
|
||||||
bool sexIsIncest = jobDriver.Partner != null && jobDriver.pawn.GetRelations(jobDriver.Partner).Any(x => x.familyByBloodRelation);
|
|
||||||
|
|
||||||
if (BasicSettings.worryAboutNecro && sexIsNecro && xxx.is_necrophiliac(pawn) == false)
|
|
||||||
{
|
|
||||||
thoughtDef = xxx.is_necrophiliac(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawNecrophilia_Honorable") :
|
|
||||||
pawn.HasPreceptForIssue("Necrophilia", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
|
||||||
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawNecrophilia_Abhorrent");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (BasicSettings.worryAboutBeastiality && sexIsBeastial)
|
|
||||||
{
|
|
||||||
thoughtDef = xxx.is_zoophile(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawBeastility_Honorable") :
|
|
||||||
pawn.HasPreceptForIssue("Beastility", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
|
||||||
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawBeastility_Abhorrent");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (BasicSettings.worryAboutRape && BasicSettings.ignoreSlaveRape == false && sexIsSlaveRape)
|
|
||||||
{
|
|
||||||
thoughtDef = xxx.is_rapist(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Honorable") :
|
|
||||||
pawn.HasPreceptForIssue("Rape", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
|
||||||
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Abhorrent");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (BasicSettings.worryAboutRape && sexIsRape)
|
|
||||||
{
|
|
||||||
thoughtDef = xxx.is_rapist(pawn) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Honorable") :
|
|
||||||
pawn.HasPreceptForIssue("Rape", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
|
||||||
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawRape_Abhorrent");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (BasicSettings.worryAboutXeno && sexIsXeno)
|
|
||||||
{
|
|
||||||
thoughtDef = isXenophobe ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawHAR_AlienDating_Prohibited") :
|
|
||||||
isXenophile ? DefDatabase<ThoughtDef>.GetNamedSilentFail("SawHAR_AlienDating_Honorable") :
|
|
||||||
pawn.HasPreceptForIssue("HAR_AlienDating", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
|
||||||
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawHAR_AlienDating_Acceptable");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (BasicSettings.worryAboutMasturbation && sexIsSolo)
|
|
||||||
{
|
|
||||||
thoughtDef = pawn.HasPreceptForIssue("Masturbation", out precept) ? DefDatabase<ThoughtDef>.GetNamedSilentFail("Saw" + precept.def.defName) :
|
|
||||||
DefDatabase<ThoughtDef>.GetNamedSilentFail("SawMasturbation_Disapproved");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (BasicSettings.worryAboutIncest && sexIsIncest)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
DebugMode.Message("Sex job is: " + jobDriver + " Issue is: " + (precept?.def?.issue?.defName).ToStringSafe() + " Opinion is: " + (precept?.def?.defName).ToStringSafe() + " Thought is: " + (thoughtDef?.defName).ToStringSafe());
|
|
||||||
|
|
||||||
return thoughtDef;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static bool InvitePasserbyForSex(Pawn pawn, Pawn witness, out bool brokeTaboo)
|
|
||||||
{
|
|
||||||
brokeTaboo = false;
|
|
||||||
bool witnessJoiningSex = Random.value < BasicSettings.chanceForOtherToJoinInSex && CouldInvitePasserbyForSex(witness, pawn.GetAllSexParticipants());
|
|
||||||
|
|
||||||
// Exit clauses
|
|
||||||
if (witness.UnworriedAboutHumanSex() == true)
|
|
||||||
{ return false; }
|
|
||||||
|
|
||||||
// Get basic thoughts
|
|
||||||
ThoughtDef pawnThoughtDef = BasicSettings.needPrivacy ? ModThoughtDefOf.SeenHavingSex : null;
|
|
||||||
ThoughtDef witnessThoughtDef = BasicSettings.needPrivacy ? ModThoughtDefOf.SawSex : null;
|
|
||||||
|
|
||||||
// Exhibitionist pawn (overrides needPrivacy)
|
|
||||||
if (xxx.has_quirk(pawn, "Exhibitionist") || pawn?.ideo?.Ideo.HasPrecept(ModPreceptDefOf.Exhibitionism_Approved) == true)
|
|
||||||
{ pawnThoughtDef = ModThoughtDefOf.SeenHavingSexExhibitionist; }
|
|
||||||
|
|
||||||
// Voyeuristic witness (overrides needPrivacy)
|
|
||||||
if (xxx.has_quirk(witness, "Voyeur"))
|
|
||||||
{ witnessThoughtDef = ModThoughtDefOf.SawSexVoyeur; }
|
|
||||||
|
|
||||||
// Mediating cirumstances
|
|
||||||
bool sexIsRitual = pawn.GetLord() != null && pawn.GetLord().LordJob is LordJob_Ritual && witness?.Ideo == pawn?.Ideo;
|
|
||||||
bool sexIsParty = pawn.GetLord() != null && pawn.GetLord().LordJob is LordJob_Joinable_Party;
|
|
||||||
bool pawnIsVictim = pawn.CurJob.def == xxx.gettin_raped || pawn.Dead;
|
|
||||||
bool mitigatingCirumstances = sexIsRitual || sexIsParty || pawnIsVictim;
|
|
||||||
bool pawnIsCheating = mitigatingCirumstances == false && PawnIsCheatingOnPartner(pawn, witness);
|
|
||||||
|
|
||||||
// Override thoughts if pawn is a victim
|
|
||||||
if (pawnIsVictim)
|
|
||||||
{
|
|
||||||
pawnThoughtDef = null;
|
|
||||||
witnessThoughtDef = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add thought if pawn is cheating
|
|
||||||
else if (pawnIsCheating)
|
|
||||||
{
|
|
||||||
if (pawn.needs.mood.thoughts.memories.GetFirstMemoryOfDef(ModThoughtDefOf.CaughtCheating) == null)
|
|
||||||
{ pawn.needs.mood.thoughts.memories.TryGainMemory(ModThoughtDefOf.CaughtCheating, witness); }
|
|
||||||
|
|
||||||
if (witness.needs.mood.thoughts.memories.GetFirstMemoryOfDef(ThoughtDefOf.CheatedOnMe) == null)
|
|
||||||
{ witness.needs.mood.thoughts.memories.TryGainMemory(ThoughtDefOf.CheatedOnMe, pawn); }
|
|
||||||
|
|
||||||
witnessJoiningSex = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Determine if there are any issues with the sex event and the witness' morals
|
// Determine if there are any issues with the sex event and the witness' morals
|
||||||
ThoughtDef newWitnessThoughtDef = GetThoughtsAboutSexAct(witness, pawn.jobs.curDriver as JobDriver_Sex, out Precept precept);
|
foreach (SexActReactionDef sexActReactionDef in DefDatabase<SexActReactionDef>.AllDefs)
|
||||||
|
|
||||||
// Update their thoughts if there are no migitating circumstances or the thought provides a positive morale boost larger than the original
|
|
||||||
if (newWitnessThoughtDef != null && (mitigatingCirumstances == false || (newWitnessThoughtDef.stages[0].baseMoodEffect > 0 && newWitnessThoughtDef.stages[0].baseMoodEffect > witnessThoughtDef.stages[0].baseMoodEffect)))
|
|
||||||
{ witnessThoughtDef = newWitnessThoughtDef; }
|
|
||||||
|
|
||||||
// Apply thoughts to witness
|
|
||||||
if (witnessThoughtDef != null)
|
|
||||||
{
|
{
|
||||||
witness.needs.mood.thoughts.memories.TryGainMemory(witnessThoughtDef, pawn, precept);
|
var methodInfo = AccessTools.Method(typeof(SexInteractionUtility), sexActReactionDef.sexActCheck, null, null);
|
||||||
|
|
||||||
if (witnessThoughtDef.stages[0].baseMoodEffect < 0)
|
if (methodInfo == null)
|
||||||
{ witness?.TryGetComp<CompPawnThoughtData>()?.TryToExclaim(); }
|
{ DebugMode.Message("Method '" + sexActReactionDef.sexActCheck + "' was not found"); continue; }
|
||||||
|
|
||||||
witnessJoiningSex = witnessThoughtDef.hediff != null ? false : witnessJoiningSex;
|
if ((bool)methodInfo.Invoke(null, new object[] { jobDriver }))
|
||||||
brokeTaboo = witnessThoughtDef.hediff != null;
|
{
|
||||||
|
DebugMode.Message(sexActReactionDef.defName);
|
||||||
// Trigger extreme reactions
|
reactionOfWitness = sexActReactionDef.DetermineReactionOfPawns(pawn, witness, applyThoughtDefs);
|
||||||
if (witnessThoughtDef?.hediff != null)
|
}
|
||||||
{ TriggerReactionInWitness(witness, pawn, witnessThoughtDef.hediff.defName); }
|
|
||||||
|
|
||||||
else if (pawnIsCheating)
|
|
||||||
{ TriggerReactionInWitness(witness, pawn, "Indignant"); }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Apply thoughts to pawn
|
return reactionOfWitness;
|
||||||
if (pawnThoughtDef != null)
|
|
||||||
{
|
|
||||||
pawn.needs.mood.thoughts.memories.TryGainMemory(pawnThoughtDef, witness, null);
|
|
||||||
|
|
||||||
if (pawnThoughtDef.stages[0].baseMoodEffect < 0)
|
|
||||||
{ pawn?.TryGetComp<CompPawnThoughtData>()?.TryToExclaim(); }
|
|
||||||
}
|
|
||||||
|
|
||||||
return witnessJoiningSex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void TriggerReactionInWitness(Pawn witness, Pawn otherPawn, string reaction)
|
public static bool SexActIsNecrophilia(JobDriver_Sex jobDriver)
|
||||||
{
|
{
|
||||||
if (BasicSettings.majorTabooCanStartFights == false || reaction.NullOrEmpty())
|
return jobDriver.Partner != null && jobDriver.Partner.Dead;
|
||||||
{ return; }
|
}
|
||||||
|
|
||||||
if (witness.MentalState != null ||
|
public static bool SexActIsBestiality(JobDriver_Sex jobDriver)
|
||||||
witness.jobs.curDriver is JobDriver_Flee ||
|
{
|
||||||
witness.jobs.curDriver is JobDriver_AttackMelee ||
|
return jobDriver.Partner != null && jobDriver.Partner.RaceProps.Animal;
|
||||||
witness.jobs.curDriver is JobDriver_Vomit)
|
}
|
||||||
{ return; }
|
|
||||||
|
|
||||||
// Panicked
|
public static bool SexActIsRape(JobDriver_Sex jobDriver)
|
||||||
if (reaction == "Panicked" || (reaction == "Indignant" && Random.value <= 0.5f))
|
{
|
||||||
{
|
return jobDriver is JobDriver_Rape || jobDriver is JobDriver_RapeEnemy || jobDriver is JobDriver_SexBaseRecieverRaped;
|
||||||
// Fight
|
}
|
||||||
if (otherPawn.RaceProps.Humanlike && witness.RaceProps.Humanlike && witness.DislikesViolence() == false && (Random.value <= 0.2f || witness.EnjoysViolence()) && witness.HostileTo(otherPawn) == false && InteractionUtility.TryGetRandomVerbForSocialFight(witness, out Verb verbToUse))
|
|
||||||
{ witness.interactions.StartSocialFight(otherPawn, "MessageSocialFight"); }
|
|
||||||
|
|
||||||
// Flight
|
public static bool SexActIsXenophilia(JobDriver_Sex jobDriver)
|
||||||
else
|
{
|
||||||
{
|
return jobDriver.Partner != null && jobDriver.Partner.def.defName != jobDriver.pawn.def.defName;
|
||||||
Job job = JobMaker.MakeJob(JobDefOf.FleeAndCower, CellFinderLoose.GetFleeDest(witness, new List<Thing>() { otherPawn }, 24f), otherPawn);
|
}
|
||||||
witness.jobs.EndCurrentJob(JobCondition.InterruptForced, false, false);
|
|
||||||
witness.jobs.StartJob(job);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Vomit
|
public static bool SexActIsMasturbation(JobDriver_Sex jobDriver)
|
||||||
else if (reaction == "Nauseated")
|
{
|
||||||
{
|
return jobDriver.pawn.IsMasturbating();
|
||||||
Job jobVomit = JobMaker.MakeJob(JobDefOf.Vomit);
|
}
|
||||||
Job jobFlee = JobMaker.MakeJob(JobDefOf.FleeAndCower, CellFinderLoose.GetFleeDest(witness, new List<Thing>() { otherPawn }, 24f), otherPawn);
|
|
||||||
|
|
||||||
witness.jobs.EndCurrentJob(JobCondition.InterruptForced, false, false);
|
public static bool SexActIsExhibitionism(JobDriver_Sex jobDriver)
|
||||||
|
{
|
||||||
|
return jobDriver.pawn.IsHavingSex();
|
||||||
|
}
|
||||||
|
|
||||||
if (Random.value <= 0.2f)
|
public static bool SexActIsInfidelity(JobDriver_Sex jobDriver)
|
||||||
{
|
{
|
||||||
witness.jobs.StartJob(jobVomit);
|
return jobDriver.pawn.IsHavingSex();
|
||||||
witness.jobs.jobQueue.EnqueueFirst(jobFlee);
|
|
||||||
}
|
|
||||||
|
|
||||||
else
|
|
||||||
{ witness.jobs.StartJob(jobFlee); }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Indignant
|
|
||||||
else if (reaction == "Indignant")
|
|
||||||
{
|
|
||||||
witness.mindState.mentalStateHandler.TryStartMentalState(DefDatabase<MentalStateDef>.GetNamedSilentFail("TargetedInsultingSpree"), null, true, false, null, true, false, false);
|
|
||||||
(witness.mindState.mentalStateHandler.CurState as MentalState_TargetedInsultingSpree).target = otherPawn;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,8 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Scripts\Comps\CompPawnThoughtData.cs" />
|
<Compile Include="Scripts\Comps\CompPawnThoughtData.cs" />
|
||||||
<Compile Include="Scripts\Comps\CompProperties_PawnThoughtData.cs" />
|
<Compile Include="Scripts\Comps\CompProperties_PawnThoughtData.cs" />
|
||||||
|
<Compile Include="Scripts\Defs\SexActReactionDef.cs" />
|
||||||
|
<Compile Include="Scripts\Defs\SexActThoughtDef.cs" />
|
||||||
<Compile Include="Scripts\Extensions\PawnExtension.cs" />
|
<Compile Include="Scripts\Extensions\PawnExtension.cs" />
|
||||||
<Compile Include="Scripts\JobDrivers\JobDriver_WatchSex.cs" />
|
<Compile Include="Scripts\JobDrivers\JobDriver_WatchSex.cs" />
|
||||||
<Compile Include="Scripts\JobDrivers\JobDriver_JoinInSex.cs" />
|
<Compile Include="Scripts\JobDrivers\JobDriver_JoinInSex.cs" />
|
||||||
|
@ -47,7 +49,9 @@
|
||||||
<Compile Include="Scripts\Settings\BasicSettings.cs" />
|
<Compile Include="Scripts\Settings\BasicSettings.cs" />
|
||||||
<Compile Include="Scripts\ThoughtWorkers\ThoughtWorker_ExposedUnderwear.cs" />
|
<Compile Include="Scripts\ThoughtWorkers\ThoughtWorker_ExposedUnderwear.cs" />
|
||||||
<Compile Include="Scripts\Utilities\DebugMode.cs" />
|
<Compile Include="Scripts\Utilities\DebugMode.cs" />
|
||||||
|
<Compile Include="Scripts\Utilities\Enums.cs" />
|
||||||
<Compile Include="Scripts\Utilities\ModDefOf.cs" />
|
<Compile Include="Scripts\Utilities\ModDefOf.cs" />
|
||||||
|
<Compile Include="Scripts\Utilities\PrivacyUtility.cs" />
|
||||||
<Compile Include="Scripts\Utilities\SexInteractionUtility.cs" />
|
<Compile Include="Scripts\Utilities\SexInteractionUtility.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
|
@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio Version 16
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 16.0.30011.22
|
VisualStudioVersion = 16.0.30011.22
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AbsCon_PrivacyPlease", "AbsCon_PrivacyPlease.csproj", "{AC00E678-E117-4BC2-8C3E-DA26509E2F6D}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceCode", "SourceCode.csproj", "{AC00E678-E117-4BC2-8C3E-DA26509E2F6D}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
@ -1 +1 @@
|
||||||
8263062e6a99f43c12969425daafb3f9676b8c24
|
6e370cfc279d578a4af85250025d7591e85c908b
|
||||||
|
|
|
@ -4,3 +4,9 @@ C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-absco
|
||||||
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-abscon\Source\obj\Debug\AbsCon_PrivacyPlease.csproj.CoreCompileInputs.cache
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-abscon\Source\obj\Debug\AbsCon_PrivacyPlease.csproj.CoreCompileInputs.cache
|
||||||
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-abscon\Source\obj\Debug\Privacy-Please.dll
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-abscon\Source\obj\Debug\Privacy-Please.dll
|
||||||
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-abscon\Source\obj\Debug\Privacy-Please.pdb
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please-abscon\Source\obj\Debug\Privacy-Please.pdb
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\AbsCon_PrivacyPlease.csprojAssemblyReference.cache
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\AbsCon_PrivacyPlease.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\Privacy-Please.dll
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\Privacy-Please.pdb
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\1.4\Assemblies\Privacy-Please.dll
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\1.4\Assemblies\Privacy-Please.pdb
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
7168a589dcb8c6bc69e172d8ed7c3d5766de561d
|
|
@ -0,0 +1,6 @@
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\1.4\Assemblies\Privacy-Please.dll
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\1.4\Assemblies\Privacy-Please.pdb
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\SourceCode.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\Privacy-Please.dll
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\Privacy-Please.pdb
|
||||||
|
C:\Program Files (x86)\Steam\SteamApps\common\RimWorld\Mods\privacy-please\Source\obj\Debug\SourceCode.csprojAssemblyReference.cache
|
Binary file not shown.
Loading…
Reference in New Issue