Page 1 of 1

How to check if genitals are accessible

Posted: Mon Nov 15, 2021 7:00 am
by Rizean
How to check if genitals are accessible.
Keep in mind this is more focused on female actors or actors who would wear female-style clothing.
It's also a close but not perfect check as a large number of clothing items post 4.0 makes it difficult to do a perfect check.

Code: Select all

WHAT: 
WHERE: 
WHEN: 0 - 24
WHO: none
OTHER:

sceneStart()
  isNotWearingUnderwear = !Player.isSlotOccupied(Bottom_Under)
  isNotWearingBottoms = true
  if Player.isEquipped('Bottom') || Player.isEquipped('Bottom_Under')
    isNotWearingBottoms = false
  EndIf
  lpjs_isWearingSkirtDress = false
  if Player.clothesContain(Dress) || Player.clothesContain(Skirt) || Player.clothesContain(Cheerleader)
    lpjs_isWearingSkirtDress = true
  EndIf
  lpjs_isNotWearingBottoms = true
  if Player.isEquipped('Bottom') || Player.isEquipped('Bottom_Under')
    lpjs_isNotWearingBottoms = false
  EndIf
  lpjs_isNotWearingUnderwear = !Player.isSlotOccupied(Bottom_Under)
  areGenitalsAccessible = false
  if lpjs_isNotWearingUnderwear && [lpjs_isWearingSkirtDress || lpjs_isNotWearingBottoms]
    areGenitalsAccessible = true
  EndIf
  "areGenitalsAccessible=<areGenitalsAccessible>  isNotWearingUnderwear=<isNotWearingUnderwear> isWearingSkirtDress=<isWearingSkirtDress> isWearingSkirt=<isWearingSkirt>  isWearingDress=<isWearingDress>  isNotWearingBottoms=<isNotWearingBottoms>"
sceneEnd()