added code to remove an openable item from the room if it is opened