Fixed some things

inv wasn't properly part of pc class, selling things added them to inv and buying took them out.