if (this.storage && !this.isClearingStorage()) {
        total += this.storage.store.getCapacity();
    }