the inferior counterparts to androids , the humanoids contained set controls that were conditioned to perform best when they responded to danger and threats with a maximized resistance to expiration .