Added function "set_equipment"