if (this.terminal && !this.isClearingTerminal()) {
        total += this.terminal.store.getCapacity();
    }