Fixes for orgy job, made psychic arouse incidentworker fireable

This commit is contained in:
c0ffee 2024-04-30 22:43:50 -07:00
parent ea886df513
commit 84be102c0f
11 changed files with 26 additions and 59 deletions

View file

@ -16,27 +16,8 @@ namespace RJW_Events
protected override bool Satisfied(Pawn pawn)
{
//if pawn is rendering apparel they shouldn't be,
if (pawn.Drawer.renderer.graphics.apparelGraphics.Any((x) => {
if (
x.sourceApparel.def is bondage_gear_def
|| x.sourceApparel.def.defName.ToLower().ContainsAny(new string[]
{
"vibrator",
"piercing",
"strapon"
})
|| x.sourceApparel.def.apparel.bodyPartGroups.Contains(BodyPartGroupDefOf.UpperHead)
)
return false;
Log.Message("[c0ffee] " + x.sourceApparel.def.defName + " does not count as nude for Pawn " + pawn.Name.ToStringSafe());
return true;
}))
if (!pawn.TryGetComp<CompRJW>().drawNude)
{
//they aren't nude
return false;
}