Lock familiar equipment
Jump to navigation
Jump to search
Function Syntax
void lock_familiar_equipment(booean locking )
- locking is the desired lock status
This function will lock familiar equipment if locking is true or unlock familiar equipment if locking is false. If there is no need to change locking status, then this function will do nothing.
Code Samples
if( equipped_item($slot[familiar]) == $item[miniature life preserver] && !is_familiar_equipment_locked() )
lock_familiar_equipment(true);