mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
22 lines
664 B
C#
22 lines
664 B
C#
|
using rjw;
|
|||
|
using RJWSexperience.Ideology.HistoryEvents;
|
|||
|
using Verse;
|
|||
|
|
|||
|
namespace RJWSexperience.Ideology.Patches
|
|||
|
{
|
|||
|
public static class Sexperience_Patch_ThrowVirginHistoryEvent
|
|||
|
{
|
|||
|
public static void Postfix(Pawn exVirgin, Pawn partner, SexProps props, int degree)
|
|||
|
{
|
|||
|
const int femaleAfterSurgery = 1;
|
|||
|
|
|||
|
if (props.isRape && exVirgin == props.partner)
|
|||
|
RsiHistoryEventDefOf.RSI_VirginStolen.RecordEventWithPartner(exVirgin, partner);
|
|||
|
else if (degree != femaleAfterSurgery)
|
|||
|
RsiHistoryEventDefOf.RSI_VirginTaken.RecordEventWithPartner(exVirgin, partner);
|
|||
|
|
|||
|
RsiHistoryEventDefOf.RSI_TookVirgin.RecordEventWithPartner(partner, exVirgin);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|