LifePlay-Revival/Docs/Modding/Condition_Functions/isEquipped.txt
2018-07-26 22:28:29 +02:00

23 lines
No EOL
443 B
Text

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:
If John.isEquipped(Bottom_Under)
"John is wearing a pair of boxers or something."
Endif