Is familiar equipment locked

From Kolmafia
Revision as of 07:20, 11 November 2014 by imported>Bale (see also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

boolean is_familiar_equipment_locked()

This function returns true if familiar equipment is locked, otherwise it returns false.

Code Samples

if( equipped_item($slot[familiar]) == $item[miniature life preserver] && !is_familiar_equipment_locked() )
   lock_familiar_equipment(true);

See Also

lock_familiar_equipment() | my_familiar()