if (creep.repair(needsRepair) === OK) {
                creep.operation.addResourceCost(workParts, RESOURCE_ENERGY);
                this.actionTaken = true;
            }