Page 1 of 1

[Condition] isEquipped

Posted: Sun Oct 31, 2021 2:02 am
by Raddeck
Actor.isEquipped(Slot)


USE:
Check if an actor is wearing any clothes in a certain 'slot'. Will return true even if it's an underwear hidden under other clothes.

The slots are:
  • Outerwear
  • Headwear
  • Eyewear
  • Top
  • Top_Under
  • Bottom
  • Bottom_Under
  • Foot
  • Foot_Under

TYPE: Condition, Reference
RETURNS: bool
THEME: Clothes
COMPARE: dress, strip


EXAMPLE:

Code: Select all

    If John.isEquipped(Bottom_Under)
        "John is wearing a pair of boxers or something."
    Endif