execute(task: WorkerCreepDestinationTask, context: ResourceDestinationContext) {
        const creep = context.creep;
        const target = Game.getObjectById(task.target);
        creep.whenInRange(1, target, () => {
            if (task.amount) {