mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Refactor RJW_Patch_Aftersex.AfterSexHuman
This commit is contained in:
parent
2599814c3a
commit
b38a4b1ec3
1 changed files with 13 additions and 20 deletions
|
@ -119,33 +119,26 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
|
|
||||||
if (partner.IsAnimal())
|
if (partner.IsAnimal())
|
||||||
{
|
{
|
||||||
|
string tag = HETag.Gender(human);
|
||||||
if (isHumanReceiving && rape)
|
if (isHumanReceiving && rape)
|
||||||
{
|
{
|
||||||
|
tag += HETag.BeenRaped;
|
||||||
|
|
||||||
if (human.IsSlave)
|
if (human.IsSlave)
|
||||||
RapeEffectSlave(human);
|
RapeEffectSlave(human);
|
||||||
|
}
|
||||||
|
|
||||||
if (human.Ideo?.IsVeneratedAnimal(partner) ?? false)
|
if (human.Ideo?.IsVeneratedAnimal(partner) ?? false)
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithVeneratedAnimal.CreateTaggedEvent(human, HETag.BeenRaped + HETag.Gender(human), partner));
|
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithVeneratedAnimal.CreateTaggedEvent(human, tag, partner));
|
||||||
else
|
else
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithAnimal.CreateTaggedEvent(human, HETag.BeenRaped + HETag.Gender(human), partner));
|
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithNonVeneratedAnimal.CreateTaggedEvent(human, tag, partner));
|
||||||
|
|
||||||
if (human.Ideo != null && human.relations?.DirectRelationExists(PawnRelationDefOf.Bond, partner) == true)
|
if (human.Ideo != null && human.relations?.DirectRelationExists(PawnRelationDefOf.Bond, partner) == true)
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithBondedAnimal.CreateTaggedEvent(human, HETag.BeenRaped + HETag.Gender(human), partner));
|
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithBondedAnimal.CreateTaggedEvent(human, tag, partner));
|
||||||
else
|
else
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithNonBondAnimal.CreateTaggedEvent(human, HETag.BeenRaped + HETag.Gender(human), partner));
|
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithNonBondAnimal.CreateTaggedEvent(human, tag, partner));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (human.Ideo?.IsVeneratedAnimal(partner) ?? false)
|
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithVeneratedAnimal.CreateTaggedEvent(human, HETag.Gender(human), partner));
|
|
||||||
else
|
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithAnimal.CreateTaggedEvent(human, HETag.Gender(human), partner));
|
|
||||||
|
|
||||||
if (human.Ideo != null && human.relations?.DirectRelationExists(PawnRelationDefOf.Bond, partner) == true)
|
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithAnimal.CreateTaggedEvent(human, tag, partner));
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithBondedAnimal.CreateTaggedEvent(human, HETag.Gender(human), partner));
|
|
||||||
else
|
|
||||||
Find.HistoryEventsManager.RecordEvent(VariousDefOf.SexWithNonBondAnimal.CreateTaggedEvent(human, HETag.Gender(human), partner));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (xxx.is_human(partner))
|
else if (xxx.is_human(partner))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue