Fix folders and namespaces (except for the Rituals)

This commit is contained in:
amevarashi 2022-10-14 21:35:31 +05:00
parent 17a8264b49
commit 075260f091
47 changed files with 46 additions and 138 deletions

View file

@ -0,0 +1,21 @@
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);
}
}
}