mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-events.git
synced 2024-08-14 23:57:42 +00:00
logging clothing items + all hats count as nude
This commit is contained in:
parent
68db66ac16
commit
ea886df513
2 changed files with 12 additions and 8 deletions
Binary file not shown.
|
@ -15,19 +15,23 @@ 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"
|
||||
}) ||
|
||||
(RJWPreferenceSettings.sex_wear == RJWPreferenceSettings.Clothing.Headgear && !x.sourceApparel.def.apparel.bodyPartGroups.Contains(BodyPartGroupDefOf.UpperHead)))
|
||||
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;
|
||||
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue