worked on inventory events and game logic