Constants
Examples
harvester_parts = [WORK, MOVE, CARRY]if creep.withdraw(creep.room.storage, RESOURCE_ENERGY) == ERR_NOT_IN_RANGE:
creep.moveTo(creep.room.storage)Last updated
harvester_parts = [WORK, MOVE, CARRY]if creep.withdraw(creep.room.storage, RESOURCE_ENERGY) == ERR_NOT_IN_RANGE:
creep.moveTo(creep.room.storage)Last updated