pick up items and inventory array