playerDetector inventory added

Functionality ahead