is_familiar_equipment_locked()

From KoLMafia
Jump to: navigation, 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