mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Move last events to overrides
This commit is contained in:
parent
20c7b303c0
commit
70a90ec2e7
3 changed files with 23 additions and 9 deletions
|
@ -102,13 +102,7 @@ namespace RJWSexperience.Ideology.Patches
|
|||
else if (xxx.is_human(partner) && rape)
|
||||
{
|
||||
VariousDefOf.RSI_Raped.RecordEventWithPartner(human, partner);
|
||||
|
||||
if (partner.IsSlave)
|
||||
VariousDefOf.RSI_WasRapedSlave.RecordEventWithPartner(partner, human);
|
||||
else if (partner.IsPrisoner)
|
||||
VariousDefOf.RSI_WasRapedPrisoner.RecordEventWithPartner(partner, human);
|
||||
else
|
||||
VariousDefOf.RSI_WasRaped.RecordEventWithPartner(partner, human);
|
||||
VariousDefOf.RSI_WasRaped.RecordEventWithPartner(partner, human);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ namespace RJWSexperience.Ideology
|
|||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_SexWithAnimal;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_Raped;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_WasRaped;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_WasRapedSlave;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_WasRapedPrisoner;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_NonIncestuosMarriage;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_NonIncestuosSex;
|
||||
[MayRequireIdeology] public static readonly HistoryEventDef RSI_SexWithCorpse;
|
||||
|
|
|
@ -48,6 +48,28 @@
|
|||
<HistoryEventDef>
|
||||
<defName>RSI_WasRaped</defName>
|
||||
<label>was raped</label>
|
||||
<modExtensions>
|
||||
<li Class="RJWSexperience.Ideology.HistoryEvents.DefExtension_PartnerDependentOverrides">
|
||||
<overrideRules>
|
||||
<li>
|
||||
<filter>
|
||||
<doer>
|
||||
<isSlave>true</isSlave>
|
||||
</doer>
|
||||
</filter>
|
||||
<historyEventDef>RSI_WasRapedSlave</historyEventDef>
|
||||
</li>
|
||||
<li>
|
||||
<filter>
|
||||
<doer>
|
||||
<isPrisoner>true</isPrisoner>
|
||||
</doer>
|
||||
</filter>
|
||||
<historyEventDef>RSI_WasRapedPrisoner</historyEventDef>
|
||||
</li>
|
||||
</overrideRules>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</HistoryEventDef>
|
||||
|
||||
<HistoryEventDef>
|
||||
|
|
Loading…
Reference in a new issue