Added inventory size limits + item discarding