familiar_equipped_equipment()

From KoLMafia
Jump to: navigation, search

Function Syntax

item familiar_equipped_equipment(familiar check_me )

  • check_me is the familiar to check

Returns the familiar equipment worn by the specified familiar check_me. If check_me is not wearing any equipment, or you do not have that familiar, it will return $item[none].

Code Samples

This example tells you what your current familiar has equipped.

item fam_equip = familiar_equipped_equipment(my_familiar());
if (fam_equip == $item[none])
   print("Your familiar "+my_familiar()+" currently has nothing equipped.", "blue");
else print("Your familiar "+my_familiar()+" currently has "+fam_equip+" equipped.", "blue");

See Also