Added inventory switching between entities.