Is familiar equipment locked: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
r11197
 
imported>Bale
see also
 
Line 25: Line 25:
}}|
}}|


see_also={{SeeAlso|minstrel_instrument|minstrel_level}}|
see_also={{SeeAlso|lock_familiar_equipment|my_familiar}}|
}}
}}


[[Category:Your Character]]
[[Category:Your Character]]

Latest revision as of 07:20, 11 November 2014

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