Familiar equipped equipment

From Kolmafia
Revision as of 03:33, 14 January 2015 by imported>Eliteofdelete
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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

familiar_equipment()