Is familiar equipment locked

From Kolmafia
Revision as of 07:19, 11 November 2014 by imported>Bale (r11197)
(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

minstrel_instrument() | minstrel_level()