Update RitualRoles.cs

This commit is contained in:
V3riusLL 2021-08-07 22:52:24 +02:00 committed by moreoreganostodump
parent 3e99d6367e
commit 183fb87f02

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -33,7 +33,7 @@ namespace RJWSexperience
if (pawn.IsPrisonerOfColony || pawn.IsSlaveOfColony) return true;
if (pawn.Ideo?.HasMeme(MemeDefOf.FemaleSupremacy) ?? false && pawn.gender != Gender.Female) return true;
else if (pawn.Ideo?.HasMeme(MemeDefOf.MaleSupremacy) ?? false && pawn.gender != Gender.Male) return true;
else if (pawn.IsDesignatedComfort() || (pawn.guilt != null && pawn.guilt.IsGuilty) || (pawn.apparel != null && pawn.apparel.PsychologicallyNude)) return true;
return false;
}
}
@ -97,10 +97,10 @@ namespace RJWSexperience
public static bool CanBeBreeder(Pawn animal, Precept_Ritual precept)
{
if (precept != null)
{
if (precept.ideo.HasPrecept(VariousDefOf.Bestiality_OnlyVenerated) && !precept.ideo.IsVeneratedAnimal(animal)) return false;
}
//if (precept != null)
//{
// if (precept.ideo.HasPrecept(VariousDefOf.Bestiality_OnlyVenerated) && !precept.ideo.IsVeneratedAnimal(animal)) return false;
//}
if (!xxx.can_rape(animal)) return false;
return true;
}