saving inventory items logic fully implemented with all currently defined item types