Familiar equipment

From Kolmafia
Jump to navigation Jump to search

Function Syntax

item familiar_equipment(familiar check_me )

  • check_me is the familiar to check the equipment association of

Reports the most commonly associated familiar equipment for the specified familiar check_me.

Code Sample

The following checks if your familiar has its associated equipment and equips the equipment if it does not.

if( familiar_equipped_equipment(my_familiar()) != familiar_equipment(my_familiar()) ){
    equip( $slot[familiar], familiar_equipment(my_familiar()) );
}

See Also

familiar_equipped_equipment()