Is familiar equipment locked

From Kolmafia
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()