[Condition] isEquipped
Posted: Sun Oct 31, 2021 2:02 am
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:
TYPE: Condition, Reference
RETURNS: bool
THEME: Clothes
COMPARE: dress, strip
EXAMPLE:
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