Final update to inventory.h

The finalized header for inventory.cpp. Only additions are the threshold functions.