commit 4b61534d6f8bd27e391bb86058e6b0d67d314ca3 Author: ObeseTermite Date: Tue Jun 3 20:21:08 2025 -0700 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f61f37b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.tern-project +ScreepsAutocomplete diff --git a/main.js b/main.js new file mode 100644 index 0000000..67f875c --- /dev/null +++ b/main.js @@ -0,0 +1,37 @@ +var roleDispatcher = require('role.dispatcher'); + +var creepCounts = {"harvester" : 3, "builder" : 1, "upgrader" : 2, "repairer" : 1}; + +module.exports.loop = function () { + + for(var name in Memory.creeps) { + if(!Game.creeps[name]) { + delete Memory.creeps[name]; + } + } + + for(const [role, count] of Object.entries(creepCounts)){ + var roleCreeps = _.filter(Game.creeps, (creep) => creep.memory.role == role); + + if(roleCreeps.length < count && !Game.spawns['Moscow'].spawning) { + var newName = role + Game.time; + Game.spawns['Moscow'].spawnCreep([WORK,CARRY,MOVE], newName, + {memory: {role: role}}); + break; + } + } + + if(Game.spawns['Moscow'].spawning) { + var spawningCreep = Game.creeps[Game.spawns['Moscow'].spawning.name]; + Game.spawns['Moscow'].room.visual.text( + '🛠️' + spawningCreep.memory.role, + Game.spawns['Moscow'].pos.x + 1, + Game.spawns['Moscow'].pos.y, + {align: 'left', opacity: 0.8}); + } + + for(var name in Game.creeps) { + var creep = Game.creeps[name]; + roleDispatcher.runRole(creep); + } +} diff --git a/role.builder.js b/role.builder.js new file mode 100644 index 0000000..85f3142 --- /dev/null +++ b/role.builder.js @@ -0,0 +1,29 @@ +var energyUtils = require('utils.energy'); + +var roleBuilder = { + + /** @param {Creep} creep **/ + run: function(creep) { + + if(creep.memory.building && creep.store[RESOURCE_ENERGY] == 0) { + creep.memory.building = false; + } + if(!creep.memory.building && creep.store.getFreeCapacity() == 0) { + creep.memory.building = true; + } + + if(creep.memory.building) { + var targets = creep.room.find(FIND_CONSTRUCTION_SITES); + if(targets.length) { + if(creep.build(targets[0]) == ERR_NOT_IN_RANGE) { + creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}}); + } + } + } + else { + energyUtils.gatherEnergy(creep); + } + } +}; + +module.exports = roleBuilder; \ No newline at end of file diff --git a/role.dispatcher.js b/role.dispatcher.js new file mode 100644 index 0000000..b499bab --- /dev/null +++ b/role.dispatcher.js @@ -0,0 +1,23 @@ +var roleHarvester = require('role.harvester'); +var roleUpgrader = require('role.upgrader'); +var roleBuilder = require('role.builder'); +var roleRepairer = require('role.repairer'); + +const roleMap = { + harvester: roleHarvester, + upgrader: roleUpgrader, + builder: roleBuilder, + repairer: roleRepairer +}; + +function runRole(creep){ + const role = roleMap[creep.memory.role]; + + if(role && typeof role.run === 'function'){ + role.run(creep); + } else { + console.log('Unknown or underfied role: ' + creep.memory.role); + } +} + +module.exports = { runRole }; diff --git a/role.guard.js b/role.guard.js new file mode 100644 index 0000000..37aad07 --- /dev/null +++ b/role.guard.js @@ -0,0 +1,21 @@ +var energyUtils = require('utils.energy'); + +var roleHarvester = { + + /** @param {Creep} creep **/ + run: function(creep) { + if(creep.store.getFreeCapacity() > 0) { + var sources = creep.room.find(FIND_SOURCES); + if(creep.harvest(sources[0]) == ERR_NOT_IN_RANGE) { + creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}}); + } + } + else { + if(!energyUtils.depositEnergy(creep)){ + creep.moveTo(Game.flags.IdleArea); + } + } + } +}; + +module.exports = roleHarvester; \ No newline at end of file diff --git a/role.harvester.js b/role.harvester.js new file mode 100644 index 0000000..acf3189 --- /dev/null +++ b/role.harvester.js @@ -0,0 +1,21 @@ +var energyUtils = require('utils.energy'); + +var roleHarvester = { + + /** @param {Creep} creep **/ + run: function(creep) { + if(creep.store.getFreeCapacity() > 0) { + var sources = creep.room.find(FIND_SOURCES); + if(creep.harvest(sources[0]) == ERR_NOT_IN_RANGE) { + creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}}); + } + } + else { + if(!energyUtils.depositEnergy(creep)){ + creep.moveTo(Game.flags.IdleArea); + } + } + } +}; + +module.exports = roleHarvester; diff --git a/role.repairer.js b/role.repairer.js new file mode 100644 index 0000000..5b3dba6 --- /dev/null +++ b/role.repairer.js @@ -0,0 +1,36 @@ +var energyUtils = require('utils.energy'); + +var roleRepairer = { + + /** @param {Creep} creep **/ + run: function(creep) { + + if(creep.memory.building && creep.store[RESOURCE_ENERGY] == 0) { + creep.memory.building = false; + } + if(!creep.memory.building && creep.store.getFreeCapacity() == 0) { + creep.memory.building = true; + } + + if(creep.memory.building) { + var targets = creep.room.find(FIND_STRUCTURES, { + filter: (structure) => { + return structure.hitsMax - structure.hits > 0; + } + }); + if(targets.length > 0) { + if(creep.repair(targets[0]) == ERR_NOT_IN_RANGE) { + creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}}); + } + } + else{ + creep.say("IDLE") + } + } + else { + energyUtils.gatherEnergy(creep); + } + } +}; + +module.exports = roleRepairer; \ No newline at end of file diff --git a/role.upgrader.js b/role.upgrader.js new file mode 100644 index 0000000..89d07b4 --- /dev/null +++ b/role.upgrader.js @@ -0,0 +1,27 @@ +var roleUpgrader = { + + /** @param {Creep} creep **/ + run: function(creep) { + + if(creep.memory.upgrading && creep.store[RESOURCE_ENERGY] == 0) { + creep.memory.upgrading = false; + } + if(!creep.memory.upgrading && creep.store.getFreeCapacity() == 0) { + creep.memory.upgrading = true; + } + + if(creep.memory.upgrading) { + if(creep.upgradeController(creep.room.controller) == ERR_NOT_IN_RANGE) { + creep.moveTo(creep.room.controller, {visualizePathStyle: {stroke: '#ffffff'}}); + } + } + else { + var sources = creep.room.find(FIND_SOURCES); + if(creep.harvest(sources[1]) == ERR_NOT_IN_RANGE) { + creep.moveTo(sources[1], {visualizePathStyle: {stroke: '#ffaa00'}}); + } + } + } +}; + +module.exports = roleUpgrader; \ No newline at end of file diff --git a/tags b/tags new file mode 100644 index 0000000..9cc9eb9 --- /dev/null +++ b/tags @@ -0,0 +1,1445 @@ +!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/ +!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/ +!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/ +!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/ +!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/ +!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/ +!_TAG_FIELD_DESCRIPTION input /input file/ +!_TAG_FIELD_DESCRIPTION name /tag name/ +!_TAG_FIELD_DESCRIPTION pattern /pattern/ +!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_KIND_DESCRIPTION!JSON a,array /arrays/ +!_TAG_KIND_DESCRIPTION!JSON b,boolean /booleans/ +!_TAG_KIND_DESCRIPTION!JSON n,number /numbers/ +!_TAG_KIND_DESCRIPTION!JSON o,object /objects/ +!_TAG_KIND_DESCRIPTION!JSON s,string /strings/ +!_TAG_KIND_DESCRIPTION!JSON z,null /nulls/ +!_TAG_KIND_DESCRIPTION!JavaScript C,constant /constants/ +!_TAG_KIND_DESCRIPTION!JavaScript G,getter /getters/ +!_TAG_KIND_DESCRIPTION!JavaScript M,field /fields/ +!_TAG_KIND_DESCRIPTION!JavaScript S,setter /setters/ +!_TAG_KIND_DESCRIPTION!JavaScript c,class /classes/ +!_TAG_KIND_DESCRIPTION!JavaScript f,function /functions/ +!_TAG_KIND_DESCRIPTION!JavaScript g,generator /generators/ +!_TAG_KIND_DESCRIPTION!JavaScript m,method /methods/ +!_TAG_KIND_DESCRIPTION!JavaScript p,property /properties/ +!_TAG_KIND_DESCRIPTION!JavaScript v,variable /global variables/ +!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/ +!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/ +!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/ +!_TAG_KIND_DESCRIPTION!Markdown h,hashtag /hashtags/ +!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/ +!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/ +!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/ +!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/ +!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/ +!_TAG_OUTPUT_FILESEP slash /slash or backslash/ +!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/ +!_TAG_OUTPUT_VERSION 0.0 /current.age/ +!_TAG_PARSER_VERSION!JSON 0.0 /current.age/ +!_TAG_PARSER_VERSION!JavaScript 1.1 /current.age/ +!_TAG_PARSER_VERSION!Markdown 1.1 /current.age/ +!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/ +!_TAG_PROC_CWD /home/termite/.config/Screeps/scripts/screeps_newbieland_net___21025/default/ // +!_TAG_PROGRAM_AUTHOR Universal Ctags Team // +!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ +!_TAG_PROGRAM_URL https://ctags.io/ /official site/ +!_TAG_PROGRAM_VERSION 6.1.0 /v6.1.0/ +!_TAG_ROLE_DESCRIPTION!JavaScript!function foreigndecl /declared in foreign languages/ +0 ScreepsAutocomplete/Global/Constants.js /^ 0: 10000000,$/;" p variable:NUKE_DAMAGE +0 ScreepsAutocomplete/Global/Constants.js /^ 0: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +0 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +0 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +0 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +0 ScreepsAutocomplete/package.json /^ "game",$/;" s array:keywords +1 ScreepsAutocomplete/Global/Constants.js /^ 1: 200,$/;" p variable:CONTROLLER_LEVELS +1 ScreepsAutocomplete/Global/Constants.js /^ 1: 20000,$/;" p variable:CONTROLLER_DOWNGRADE +1 ScreepsAutocomplete/Global/Constants.js /^ 1: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +1 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +1 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +1 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +1 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +1 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +1 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +1 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +1 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +1 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +1 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +1 ScreepsAutocomplete/package.json /^ "screeps"$/;" s array:keywords +2 ScreepsAutocomplete/Global/Constants.js /^ 2: 300000,$/;" p variable:RAMPART_HITS_MAX +2 ScreepsAutocomplete/Global/Constants.js /^ 2: 45000,$/;" p variable:CONTROLLER_LEVELS +2 ScreepsAutocomplete/Global/Constants.js /^ 2: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +2 ScreepsAutocomplete/Global/Constants.js /^ 2: 5000,$/;" p variable:CONTROLLER_DOWNGRADE +2 ScreepsAutocomplete/Global/Constants.js /^ 2: 5000000$/;" p variable:NUKE_DAMAGE +2 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +2 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +2 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +2 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +2 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +2 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +2 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +2 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +2 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +2 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +3 ScreepsAutocomplete/Global/Constants.js /^ 3: 10000,$/;" p variable:CONTROLLER_DOWNGRADE +3 ScreepsAutocomplete/Global/Constants.js /^ 3: 1000000,$/;" p variable:RAMPART_HITS_MAX +3 ScreepsAutocomplete/Global/Constants.js /^ 3: 135000,$/;" p variable:CONTROLLER_LEVELS +3 ScreepsAutocomplete/Global/Constants.js /^ 3: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +3 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +3 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +3 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +3 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +3 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +3 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +3 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +3 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +3 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +3 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +4 ScreepsAutocomplete/Global/Constants.js /^ 4: 20000,$/;" p variable:CONTROLLER_DOWNGRADE +4 ScreepsAutocomplete/Global/Constants.js /^ 4: 3000000,$/;" p variable:RAMPART_HITS_MAX +4 ScreepsAutocomplete/Global/Constants.js /^ 4: 405000,$/;" p variable:CONTROLLER_LEVELS +4 ScreepsAutocomplete/Global/Constants.js /^ 4: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +4 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +4 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +4 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +4 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +4 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +4 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +4 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +4 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +4 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +4 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +5 ScreepsAutocomplete/Global/Constants.js /^ 5: 10000000,$/;" p variable:RAMPART_HITS_MAX +5 ScreepsAutocomplete/Global/Constants.js /^ 5: 1215000,$/;" p variable:CONTROLLER_LEVELS +5 ScreepsAutocomplete/Global/Constants.js /^ 5: 40000,$/;" p variable:CONTROLLER_DOWNGRADE +5 ScreepsAutocomplete/Global/Constants.js /^ 5: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +5 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +5 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +5 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +5 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +5 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +5 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +5 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +5 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +5 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +5 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +6 ScreepsAutocomplete/Global/Constants.js /^ 6: 30000000,$/;" p variable:RAMPART_HITS_MAX +6 ScreepsAutocomplete/Global/Constants.js /^ 6: 3645000,$/;" p variable:CONTROLLER_LEVELS +6 ScreepsAutocomplete/Global/Constants.js /^ 6: 50,$/;" p variable:EXTENSION_ENERGY_CAPACITY +6 ScreepsAutocomplete/Global/Constants.js /^ 6: 60000,$/;" p variable:CONTROLLER_DOWNGRADE +6 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +6 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +6 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +6 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +6 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +6 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +6 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +6 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +6 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +6 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +7 ScreepsAutocomplete/Global/Constants.js /^ 7: 100,$/;" p variable:EXTENSION_ENERGY_CAPACITY +7 ScreepsAutocomplete/Global/Constants.js /^ 7: 100000,$/;" p variable:CONTROLLER_DOWNGRADE +7 ScreepsAutocomplete/Global/Constants.js /^ 7: 100000000,$/;" p variable:RAMPART_HITS_MAX +7 ScreepsAutocomplete/Global/Constants.js /^ 7: 10935000$/;" p variable:CONTROLLER_LEVELS +7 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +7 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +7 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +7 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +7 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +7 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +7 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +7 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +7 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +7 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +8 ScreepsAutocomplete/Global/Constants.js /^ 8: 150000$/;" p variable:CONTROLLER_DOWNGRADE +8 ScreepsAutocomplete/Global/Constants.js /^ 8: 200$/;" p variable:EXTENSION_ENERGY_CAPACITY +8 ScreepsAutocomplete/Global/Constants.js /^ 8: 300000000$/;" p variable:RAMPART_HITS_MAX +8 ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.constructedWall +8 ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p property:CONTROLLER_STRUCTURES.extension +8 ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p property:CONTROLLER_STRUCTURES.link +8 ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.observer +8 ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p property:CONTROLLER_STRUCTURES.powerSpawn +8 ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.rampart +8 ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p property:CONTROLLER_STRUCTURES.road +8 ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p property:CONTROLLER_STRUCTURES.spawn +8 ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p property:CONTROLLER_STRUCTURES.storage +8 ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p property:CONTROLLER_STRUCTURES.tower +API Changes ScreepsAutocomplete/TODO.md /^### API Changes$/;" S section:Screeps 4.x.x +ATTACK ScreepsAutocomplete/Global/Constants.js /^const ATTACK = "attack";$/;" C +ATTACK_POWER ScreepsAutocomplete/Global/Constants.js /^const ATTACK_POWER = 30;$/;" C +Adding it as a library ScreepsAutocomplete/Readme.md /^###### Adding it as a library$/;" u subsubsection:Screeps Autocomplete""How to Install""Webstorm (Or Other Jetbrains IDE's) +Atom ScreepsAutocomplete/Readme.md /^#### Atom$/;" t section:Screeps Autocomplete""How to Install +BODYPARTS_ALL ScreepsAutocomplete/Global/Constants.js /^const BODYPARTS_ALL = [$/;" v +BODYPART_COST ScreepsAutocomplete/Global/Constants.js /^const BODYPART_COST = {$/;" v +BOOSTS ScreepsAutocomplete/Global/Constants.js /^const BOOSTS = {$/;" v +BOTTOM ScreepsAutocomplete/Global/Constants.js /^const BOTTOM = 5;$/;" C +BOTTOM_LEFT ScreepsAutocomplete/Global/Constants.js /^const BOTTOM_LEFT = 6;$/;" C +BOTTOM_RIGHT ScreepsAutocomplete/Global/Constants.js /^const BOTTOM_RIGHT = 4;$/;" C +BUILD_POWER ScreepsAutocomplete/Global/Constants.js /^const BUILD_POWER = 5;$/;" C +CARRY ScreepsAutocomplete/Global/Constants.js /^const CARRY = "carry";$/;" C +CARRY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const CARRY_CAPACITY = 50;$/;" C +CLAIM ScreepsAutocomplete/Global/Constants.js /^const CLAIM = "claim";$/;" C +COLORS_ALL ScreepsAutocomplete/Global/Constants.js /^const COLORS_ALL = [$/;" v +COLOR_BLUE ScreepsAutocomplete/Global/Constants.js /^const COLOR_BLUE = 3;$/;" C +COLOR_BROWN ScreepsAutocomplete/Global/Constants.js /^const COLOR_BROWN = 8;$/;" C +COLOR_CYAN ScreepsAutocomplete/Global/Constants.js /^const COLOR_CYAN = 4;$/;" C +COLOR_GREEN ScreepsAutocomplete/Global/Constants.js /^const COLOR_GREEN = 5;$/;" C +COLOR_GREY ScreepsAutocomplete/Global/Constants.js /^const COLOR_GREY = 9;$/;" C +COLOR_ORANGE ScreepsAutocomplete/Global/Constants.js /^const COLOR_ORANGE = 7;$/;" C +COLOR_PURPLE ScreepsAutocomplete/Global/Constants.js /^const COLOR_PURPLE = 2;$/;" C +COLOR_RED ScreepsAutocomplete/Global/Constants.js /^const COLOR_RED = 1;$/;" C +COLOR_WHITE ScreepsAutocomplete/Global/Constants.js /^const COLOR_WHITE = 10;$/;" C +COLOR_YELLOW ScreepsAutocomplete/Global/Constants.js /^const COLOR_YELLOW = 6;$/;" C +CONSTRUCTION_COST ScreepsAutocomplete/Global/Constants.js /^const CONSTRUCTION_COST = {$/;" v +CONSTRUCTION_COST_ROAD_SWAMP_RATIO ScreepsAutocomplete/Global/Constants.js /^const CONSTRUCTION_COST_ROAD_SWAMP_RATIO = 5;$/;" C +CONTAINER_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const CONTAINER_CAPACITY = 2000;$/;" C +CONTAINER_DECAY ScreepsAutocomplete/Global/Constants.js /^const CONTAINER_DECAY = 5000;$/;" C +CONTAINER_DECAY_TIME ScreepsAutocomplete/Global/Constants.js /^const CONTAINER_DECAY_TIME = 100;$/;" C +CONTAINER_DECAY_TIME_OWNED ScreepsAutocomplete/Global/Constants.js /^const CONTAINER_DECAY_TIME_OWNED = 500;$/;" C +CONTAINER_HITS ScreepsAutocomplete/Global/Constants.js /^const CONTAINER_HITS = 250000;$/;" C +CONTROLLER_ATTACK_BLOCKED_UPGRADE ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_ATTACK_BLOCKED_UPGRADE = 1000;$/;" C +CONTROLLER_CLAIM_DOWNGRADE ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_CLAIM_DOWNGRADE = 0.2;$/;" C +CONTROLLER_DOWNGRADE ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_DOWNGRADE = {$/;" v +CONTROLLER_DOWNGRADE_RESTORE ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_DOWNGRADE_RESTORE = 100;$/;" C +CONTROLLER_DOWNGRADE_SAFEMODE_THRESHOLD ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_DOWNGRADE_SAFEMODE_THRESHOLD = 5000;$/;" C +CONTROLLER_LEVELS ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_LEVELS = {$/;" v +CONTROLLER_MAX_UPGRADE_PER_TICK ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_MAX_UPGRADE_PER_TICK = 15;$/;" C +CONTROLLER_NUKE_BLOCKED_UPGRADE ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_NUKE_BLOCKED_UPGRADE = 200;$/;" C +CONTROLLER_RESERVE ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_RESERVE = 1;$/;" C +CONTROLLER_RESERVE_MAX ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_RESERVE_MAX = 5000;$/;" C +CONTROLLER_STRUCTURES ScreepsAutocomplete/Global/Constants.js /^const CONTROLLER_STRUCTURES = {$/;" v +CREEP_CLAIM_LIFE_TIME ScreepsAutocomplete/Global/Constants.js /^const CREEP_CLAIM_LIFE_TIME = 500;$/;" C +CREEP_CORPSE_RATE ScreepsAutocomplete/Global/Constants.js /^const CREEP_CORPSE_RATE = 0.2;$/;" C +CREEP_LIFE_TIME ScreepsAutocomplete/Global/Constants.js /^const CREEP_LIFE_TIME = 1500;$/;" C +CREEP_RENEW_RATIO ScreepsAutocomplete/Global/Constants.js /^const CREEP_RENEW_RATIO = 1.2;$/;" C +CREEP_SPAWN_TIME ScreepsAutocomplete/Global/Constants.js /^const CREEP_SPAWN_TIME = 3;$/;" C +ConstructionSite ScreepsAutocomplete/ConstructionSite.js /^ConstructionSite = function() { };$/;" c +CostMatrix ScreepsAutocomplete/PathFinder.js /^PathFinder.CostMatrix = function() { };$/;" c variable:PathFinder +Creep ScreepsAutocomplete/Creep.js /^Creep = function() { };$/;" c +DISMANTLE_COST ScreepsAutocomplete/Global/Constants.js /^const DISMANTLE_COST = 0.005;$/;" C +DISMANTLE_POWER ScreepsAutocomplete/Global/Constants.js /^const DISMANTLE_POWER = 100;$/;" C +Deposit ScreepsAutocomplete/Deposit.js /^Deposit = function () {$/;" c +ENERGY_DECAY ScreepsAutocomplete/Global/Constants.js /^const ENERGY_DECAY = 1000;$/;" C +ENERGY_REGEN_TIME ScreepsAutocomplete/Global/Constants.js /^const ENERGY_REGEN_TIME = 300;$/;" C +ERR_BUSY ScreepsAutocomplete/Global/Constants.js /^const ERR_BUSY = -4;$/;" C +ERR_FULL ScreepsAutocomplete/Global/Constants.js /^const ERR_FULL = -8;$/;" C +ERR_GCL_NOT_ENOUGH ScreepsAutocomplete/Global/Constants.js /^const ERR_GCL_NOT_ENOUGH = -15;$/;" C +ERR_INVALID_ARGS ScreepsAutocomplete/Global/Constants.js /^const ERR_INVALID_ARGS = -10;$/;" C +ERR_INVALID_TARGET ScreepsAutocomplete/Global/Constants.js /^const ERR_INVALID_TARGET = -7;$/;" C +ERR_NAME_EXISTS ScreepsAutocomplete/Global/Constants.js /^const ERR_NAME_EXISTS = -3;$/;" C +ERR_NOT_ENOUGH_ENERGY ScreepsAutocomplete/Global/Constants.js /^const ERR_NOT_ENOUGH_ENERGY = -6;$/;" C +ERR_NOT_ENOUGH_EXTENSIONS ScreepsAutocomplete/Global/Constants.js /^const ERR_NOT_ENOUGH_EXTENSIONS = -6;$/;" C +ERR_NOT_ENOUGH_RESOURCES ScreepsAutocomplete/Global/Constants.js /^const ERR_NOT_ENOUGH_RESOURCES = -6;$/;" C +ERR_NOT_FOUND ScreepsAutocomplete/Global/Constants.js /^const ERR_NOT_FOUND = -5;$/;" C +ERR_NOT_IN_RANGE ScreepsAutocomplete/Global/Constants.js /^const ERR_NOT_IN_RANGE = -9;$/;" C +ERR_NOT_OWNER ScreepsAutocomplete/Global/Constants.js /^const ERR_NOT_OWNER = -1;$/;" C +ERR_NO_BODYPART ScreepsAutocomplete/Global/Constants.js /^const ERR_NO_BODYPART = -12;$/;" C +ERR_NO_PATH ScreepsAutocomplete/Global/Constants.js /^const ERR_NO_PATH = -2;$/;" C +ERR_RCL_NOT_ENOUGH ScreepsAutocomplete/Global/Constants.js /^const ERR_RCL_NOT_ENOUGH = -14;$/;" C +ERR_TIRED ScreepsAutocomplete/Global/Constants.js /^const ERR_TIRED = -11;$/;" C +EXTENSION_ENERGY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const EXTENSION_ENERGY_CAPACITY = {$/;" v +EXTENSION_HITS ScreepsAutocomplete/Global/Constants.js /^const EXTENSION_HITS = 1000;$/;" C +FACTORY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const FACTORY_CAPACITY = 50000;$/;" C +FACTORY_HITS ScreepsAutocomplete/Global/Constants.js /^const FACTORY_HITS = 1000;$/;" C +FIND_CONSTRUCTION_SITES ScreepsAutocomplete/Global/Constants.js /^const FIND_CONSTRUCTION_SITES = 111;$/;" C +FIND_CREEPS ScreepsAutocomplete/Global/Constants.js /^const FIND_CREEPS = 101;$/;" C +FIND_DROPPED_RESOURCES ScreepsAutocomplete/Global/Constants.js /^const FIND_DROPPED_RESOURCES = 106;$/;" C +FIND_EXIT ScreepsAutocomplete/Global/Constants.js /^const FIND_EXIT = 10;$/;" C +FIND_EXIT_BOTTOM ScreepsAutocomplete/Global/Constants.js /^const FIND_EXIT_BOTTOM = 5;$/;" C +FIND_EXIT_LEFT ScreepsAutocomplete/Global/Constants.js /^const FIND_EXIT_LEFT = 7;$/;" C +FIND_EXIT_RIGHT ScreepsAutocomplete/Global/Constants.js /^const FIND_EXIT_RIGHT = 3;$/;" C +FIND_EXIT_TOP ScreepsAutocomplete/Global/Constants.js /^const FIND_EXIT_TOP = 1;$/;" C +FIND_FLAGS ScreepsAutocomplete/Global/Constants.js /^const FIND_FLAGS = 110;$/;" C +FIND_HOSTILE_CONSTRUCTION_SITES ScreepsAutocomplete/Global/Constants.js /^const FIND_HOSTILE_CONSTRUCTION_SITES = 115;$/;" C +FIND_HOSTILE_CREEPS ScreepsAutocomplete/Global/Constants.js /^const FIND_HOSTILE_CREEPS = 103;$/;" C +FIND_HOSTILE_POWER_CREEPS ScreepsAutocomplete/Global/Constants.js /^const FIND_HOSTILE_POWER_CREEPS = 121;$/;" C +FIND_HOSTILE_SPAWNS ScreepsAutocomplete/Global/Constants.js /^const FIND_HOSTILE_SPAWNS = 113;$/;" C +FIND_HOSTILE_STRUCTURES ScreepsAutocomplete/Global/Constants.js /^const FIND_HOSTILE_STRUCTURES = 109;$/;" C +FIND_MINERALS ScreepsAutocomplete/Global/Constants.js /^const FIND_MINERALS = 116;$/;" C +FIND_MY_CONSTRUCTION_SITES ScreepsAutocomplete/Global/Constants.js /^const FIND_MY_CONSTRUCTION_SITES = 114;$/;" C +FIND_MY_CREEPS ScreepsAutocomplete/Global/Constants.js /^const FIND_MY_CREEPS = 102;$/;" C +FIND_MY_POWER_CREEPS ScreepsAutocomplete/Global/Constants.js /^const FIND_MY_POWER_CREEPS = 120;$/;" C +FIND_MY_SPAWNS ScreepsAutocomplete/Global/Constants.js /^const FIND_MY_SPAWNS = 112;$/;" C +FIND_MY_STRUCTURES ScreepsAutocomplete/Global/Constants.js /^const FIND_MY_STRUCTURES = 108;$/;" C +FIND_NUKES ScreepsAutocomplete/Global/Constants.js /^const FIND_NUKES = 117;$/;" C +FIND_POWER_CREEPS ScreepsAutocomplete/Global/Constants.js /^const FIND_POWER_CREEPS = 119;$/;" C +FIND_SOURCES ScreepsAutocomplete/Global/Constants.js /^const FIND_SOURCES = 105;$/;" C +FIND_SOURCES_ACTIVE ScreepsAutocomplete/Global/Constants.js /^const FIND_SOURCES_ACTIVE = 104;$/;" C +FIND_STRUCTURES ScreepsAutocomplete/Global/Constants.js /^const FIND_STRUCTURES = 107;$/;" C +FIND_TOMBSTONES ScreepsAutocomplete/Global/Constants.js /^const FIND_TOMBSTONES = 118;$/;" C +Flag ScreepsAutocomplete/Flag.js /^Flag = function() { };$/;" c +G ScreepsAutocomplete/Global/Constants.js /^ G: "GH"$/;" p property:REACTIONS.H +G ScreepsAutocomplete/Global/Constants.js /^ G: "GO"$/;" p property:REACTIONS.O +G ScreepsAutocomplete/Global/Constants.js /^ G: 5,$/;" p variable:REACTION_TIME +G ScreepsAutocomplete/Global/Constants.js /^ G: {$/;" p variable:REACTIONS +GCL_MULTIPLY ScreepsAutocomplete/Global/Constants.js /^const GCL_MULTIPLY = 1000000;$/;" C +GCL_NOVICE ScreepsAutocomplete/Global/Constants.js /^const GCL_NOVICE = 3;$/;" C +GCL_POW ScreepsAutocomplete/Global/Constants.js /^const GCL_POW = 2.4;$/;" C +GH ScreepsAutocomplete/Global/Constants.js /^ GH: "GH2O",$/;" p property:REACTIONS.OH +GH ScreepsAutocomplete/Global/Constants.js /^ GH: {$/;" p property:BOOSTS.work +GH ScreepsAutocomplete/Global/Constants.js /^ GH: 10,$/;" p variable:REACTION_TIME +GH ScreepsAutocomplete/Global/Constants.js /^ GH: {$/;" p variable:REACTIONS +GH2O ScreepsAutocomplete/Global/Constants.js /^ GH2O: "XGH2O",$/;" p property:REACTIONS.X +GH2O ScreepsAutocomplete/Global/Constants.js /^ GH2O: {$/;" p property:BOOSTS.work +GH2O ScreepsAutocomplete/Global/Constants.js /^ GH2O: 15,$/;" p variable:REACTION_TIME +GH2O ScreepsAutocomplete/Global/Constants.js /^ GH2O: {$/;" p variable:REACTIONS +GHO2 ScreepsAutocomplete/Global/Constants.js /^ GHO2: "XGHO2"$/;" p property:REACTIONS.X +GHO2 ScreepsAutocomplete/Global/Constants.js /^ GHO2: {$/;" p property:BOOSTS.tough +GHO2 ScreepsAutocomplete/Global/Constants.js /^ GHO2: 30,$/;" p variable:REACTION_TIME +GHO2 ScreepsAutocomplete/Global/Constants.js /^ GHO2: {$/;" p variable:REACTIONS +GO ScreepsAutocomplete/Global/Constants.js /^ GO: "GHO2"$/;" p property:REACTIONS.OH +GO ScreepsAutocomplete/Global/Constants.js /^ GO: {$/;" p property:BOOSTS.tough +GO ScreepsAutocomplete/Global/Constants.js /^ GO: 10,$/;" p variable:REACTION_TIME +GO ScreepsAutocomplete/Global/Constants.js /^ GO: {$/;" p variable:REACTIONS +Game ScreepsAutocomplete/Game.js /^Game = {$/;" v +H ScreepsAutocomplete/Global/Constants.js /^ H: "GH",$/;" p property:REACTIONS.G +H ScreepsAutocomplete/Global/Constants.js /^ H: "KH",$/;" p property:REACTIONS.K +H ScreepsAutocomplete/Global/Constants.js /^ H: "LH",$/;" p property:REACTIONS.L +H ScreepsAutocomplete/Global/Constants.js /^ H: "OH",$/;" p property:REACTIONS.O +H ScreepsAutocomplete/Global/Constants.js /^ H: "UH",$/;" p property:REACTIONS.U +H ScreepsAutocomplete/Global/Constants.js /^ H: "ZH",$/;" p property:REACTIONS.Z +H ScreepsAutocomplete/Global/Constants.js /^ H: 140000,$/;" p variable:MINERAL_MIN_AMOUNT +H ScreepsAutocomplete/Global/Constants.js /^ H: {$/;" p variable:REACTIONS +HARVEST_MINERAL_POWER ScreepsAutocomplete/Global/Constants.js /^const HARVEST_MINERAL_POWER = 1;$/;" C +HARVEST_POWER ScreepsAutocomplete/Global/Constants.js /^const HARVEST_POWER = 2;$/;" C +HEAL ScreepsAutocomplete/Global/Constants.js /^const HEAL = "heal";$/;" C +HEAL_POWER ScreepsAutocomplete/Global/Constants.js /^const HEAL_POWER = 12;$/;" C +How to Install ScreepsAutocomplete/Readme.md /^## How to Install$/;" s chapter:Screeps Autocomplete +InterShardMemory ScreepsAutocomplete/InterShardMemory.js /^InterShardMemory = function() { };$/;" c +K ScreepsAutocomplete/Global/Constants.js /^ K: "KH",$/;" p property:REACTIONS.H +K ScreepsAutocomplete/Global/Constants.js /^ K: "KO",$/;" p property:REACTIONS.O +K ScreepsAutocomplete/Global/Constants.js /^ K: "ZK",$/;" p property:REACTIONS.Z +K ScreepsAutocomplete/Global/Constants.js /^ K: 70000,$/;" p variable:MINERAL_MIN_AMOUNT +K ScreepsAutocomplete/Global/Constants.js /^ K: {$/;" p variable:REACTIONS +KH ScreepsAutocomplete/Global/Constants.js /^ KH: "KH2O",$/;" p property:REACTIONS.OH +KH ScreepsAutocomplete/Global/Constants.js /^ KH: {$/;" p property:BOOSTS.carry +KH ScreepsAutocomplete/Global/Constants.js /^ KH: 10,$/;" p variable:REACTION_TIME +KH ScreepsAutocomplete/Global/Constants.js /^ KH: {$/;" p variable:REACTIONS +KH2O ScreepsAutocomplete/Global/Constants.js /^ KH2O: "XKH2O",$/;" p property:REACTIONS.X +KH2O ScreepsAutocomplete/Global/Constants.js /^ KH2O: {$/;" p property:BOOSTS.carry +KH2O ScreepsAutocomplete/Global/Constants.js /^ KH2O: 5,$/;" p variable:REACTION_TIME +KH2O ScreepsAutocomplete/Global/Constants.js /^ KH2O: {$/;" p variable:REACTIONS +KHO2 ScreepsAutocomplete/Global/Constants.js /^ KHO2: "XKHO2",$/;" p property:REACTIONS.X +KHO2 ScreepsAutocomplete/Global/Constants.js /^ KHO2: {$/;" p property:BOOSTS.ranged_attack +KHO2 ScreepsAutocomplete/Global/Constants.js /^ KHO2: 5,$/;" p variable:REACTION_TIME +KHO2 ScreepsAutocomplete/Global/Constants.js /^ KHO2: {$/;" p variable:REACTIONS +KO ScreepsAutocomplete/Global/Constants.js /^ KO: "KHO2",$/;" p property:REACTIONS.OH +KO ScreepsAutocomplete/Global/Constants.js /^ KO: {$/;" p property:BOOSTS.ranged_attack +KO ScreepsAutocomplete/Global/Constants.js /^ KO: 10,$/;" p variable:REACTION_TIME +KO ScreepsAutocomplete/Global/Constants.js /^ KO: {$/;" p variable:REACTIONS +L ScreepsAutocomplete/Global/Constants.js /^ L: "LH",$/;" p property:REACTIONS.H +L ScreepsAutocomplete/Global/Constants.js /^ L: "LO",$/;" p property:REACTIONS.O +L ScreepsAutocomplete/Global/Constants.js /^ L: "UL",$/;" p property:REACTIONS.U +L ScreepsAutocomplete/Global/Constants.js /^ L: 70000,$/;" p variable:MINERAL_MIN_AMOUNT +L ScreepsAutocomplete/Global/Constants.js /^ L: {$/;" p variable:REACTIONS +LAB_BOOST_ENERGY ScreepsAutocomplete/Global/Constants.js /^const LAB_BOOST_ENERGY = 20;$/;" C +LAB_BOOST_MINERAL ScreepsAutocomplete/Global/Constants.js /^const LAB_BOOST_MINERAL = 30;$/;" C +LAB_COOLDOWN ScreepsAutocomplete/Global/Constants.js /^const LAB_COOLDOWN = 10;$/;" C +LAB_ENERGY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const LAB_ENERGY_CAPACITY = 2000;$/;" C +LAB_HITS ScreepsAutocomplete/Global/Constants.js /^const LAB_HITS = 500;$/;" C +LAB_MINERAL_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const LAB_MINERAL_CAPACITY = 3000;$/;" C +LEFT ScreepsAutocomplete/Global/Constants.js /^const LEFT = 7;$/;" C +LH ScreepsAutocomplete/Global/Constants.js /^ LH: "LH2O",$/;" p property:REACTIONS.OH +LH ScreepsAutocomplete/Global/Constants.js /^ LH: {$/;" p property:BOOSTS.work +LH ScreepsAutocomplete/Global/Constants.js /^ LH: 15,$/;" p variable:REACTION_TIME +LH ScreepsAutocomplete/Global/Constants.js /^ LH: {$/;" p variable:REACTIONS +LH2O ScreepsAutocomplete/Global/Constants.js /^ LH2O: "XLH2O",$/;" p property:REACTIONS.X +LH2O ScreepsAutocomplete/Global/Constants.js /^ LH2O: {$/;" p property:BOOSTS.work +LH2O ScreepsAutocomplete/Global/Constants.js /^ LH2O: 10,$/;" p variable:REACTION_TIME +LH2O ScreepsAutocomplete/Global/Constants.js /^ LH2O: {$/;" p variable:REACTIONS +LHO2 ScreepsAutocomplete/Global/Constants.js /^ LHO2: "XLHO2",$/;" p property:REACTIONS.X +LHO2 ScreepsAutocomplete/Global/Constants.js /^ LHO2: {$/;" p property:BOOSTS.heal +LHO2 ScreepsAutocomplete/Global/Constants.js /^ LHO2: 5,$/;" p variable:REACTION_TIME +LHO2 ScreepsAutocomplete/Global/Constants.js /^ LHO2: {$/;" p variable:REACTIONS +LINK_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const LINK_CAPACITY = 800;$/;" C +LINK_COOLDOWN ScreepsAutocomplete/Global/Constants.js /^const LINK_COOLDOWN = 1;$/;" C +LINK_HITS ScreepsAutocomplete/Global/Constants.js /^const LINK_HITS = 1000;$/;" C +LINK_HITS_MAX ScreepsAutocomplete/Global/Constants.js /^const LINK_HITS_MAX = 1000;$/;" C +LINK_LOSS_RATIO ScreepsAutocomplete/Global/Constants.js /^const LINK_LOSS_RATIO = 0.03;$/;" C +LO ScreepsAutocomplete/Global/Constants.js /^ LO: "LHO2",$/;" p property:REACTIONS.OH +LO ScreepsAutocomplete/Global/Constants.js /^ LO: {$/;" p property:BOOSTS.heal +LO ScreepsAutocomplete/Global/Constants.js /^ LO: 10,$/;" p variable:REACTION_TIME +LO ScreepsAutocomplete/Global/Constants.js /^ LO: {$/;" p variable:REACTIONS +LOOK_CONSTRUCTION_SITES ScreepsAutocomplete/Global/Constants.js /^const LOOK_CONSTRUCTION_SITES = "constructionSite";$/;" C +LOOK_CREEPS ScreepsAutocomplete/Global/Constants.js /^const LOOK_CREEPS = "creep";$/;" C +LOOK_ENERGY ScreepsAutocomplete/Global/Constants.js /^const LOOK_ENERGY = "energy";$/;" C +LOOK_FLAGS ScreepsAutocomplete/Global/Constants.js /^const LOOK_FLAGS = "flag";$/;" C +LOOK_MINERALS ScreepsAutocomplete/Global/Constants.js /^const LOOK_MINERALS = "mineral";$/;" C +LOOK_NUKES ScreepsAutocomplete/Global/Constants.js /^const LOOK_NUKES = "nuke";$/;" C +LOOK_RESOURCES ScreepsAutocomplete/Global/Constants.js /^const LOOK_RESOURCES = "resource";$/;" C +LOOK_SOURCES ScreepsAutocomplete/Global/Constants.js /^const LOOK_SOURCES = "source";$/;" C +LOOK_STRUCTURES ScreepsAutocomplete/Global/Constants.js /^const LOOK_STRUCTURES = "structure";$/;" C +LOOK_TERRAIN ScreepsAutocomplete/Global/Constants.js /^const LOOK_TERRAIN = "terrain";$/;" C +LOOK_TOMBSTONES ScreepsAutocomplete/Global/Constants.js /^const LOOK_TOMBSTONES = "tombstone";$/;" C +MAX_CONSTRUCTION_SITES ScreepsAutocomplete/Global/Constants.js /^const MAX_CONSTRUCTION_SITES = 100;$/;" C +MAX_CREEP_SIZE ScreepsAutocomplete/Global/Constants.js /^const MAX_CREEP_SIZE = 50;$/;" C +MINERAL_MIN_AMOUNT ScreepsAutocomplete/Global/Constants.js /^const MINERAL_MIN_AMOUNT = {$/;" v +MINERAL_RANDOM_FACTOR ScreepsAutocomplete/Global/Constants.js /^const MINERAL_RANDOM_FACTOR = 2;$/;" C +MINERAL_REGEN_TIME ScreepsAutocomplete/Global/Constants.js /^const MINERAL_REGEN_TIME = 50000;$/;" C +MODE_ARENA ScreepsAutocomplete/Global/Constants.js /^const MODE_ARENA = "arena";$/;" C +MODE_SIMULATION ScreepsAutocomplete/Global/Constants.js /^const MODE_SIMULATION = "simulation";$/;" C +MODE_SURVIVAL ScreepsAutocomplete/Global/Constants.js /^const MODE_SURVIVAL = "survival";$/;" C +MODE_WORLD ScreepsAutocomplete/Global/Constants.js /^const MODE_WORLD = "world";$/;" C +MOVE ScreepsAutocomplete/Global/Constants.js /^const MOVE = "move";$/;" C +MapVisual ScreepsAutocomplete/Game.js /^MapVisual = function() { };$/;" c +Mineral ScreepsAutocomplete/Mineral.js /^Mineral = function() { };$/;" c +NUKER_COOLDOWN ScreepsAutocomplete/Global/Constants.js /^const NUKER_COOLDOWN = 100000;$/;" C +NUKER_ENERGY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const NUKER_ENERGY_CAPACITY = 300000;$/;" C +NUKER_GHODIUM_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const NUKER_GHODIUM_CAPACITY = 5000;$/;" C +NUKER_HITS ScreepsAutocomplete/Global/Constants.js /^const NUKER_HITS = 1000;$/;" C +NUKE_DAMAGE ScreepsAutocomplete/Global/Constants.js /^const NUKE_DAMAGE = {$/;" v +NUKE_LAND_TIME ScreepsAutocomplete/Global/Constants.js /^const NUKE_LAND_TIME = 50000;$/;" C +NUKE_RANGE ScreepsAutocomplete/Global/Constants.js /^const NUKE_RANGE = 10;$/;" C +Nuke ScreepsAutocomplete/Nuke.js /^Nuke = function() { };$/;" c +O ScreepsAutocomplete/Global/Constants.js /^ O: "GO"$/;" p property:REACTIONS.G +O ScreepsAutocomplete/Global/Constants.js /^ O: "KO"$/;" p property:REACTIONS.K +O ScreepsAutocomplete/Global/Constants.js /^ O: "LO"$/;" p property:REACTIONS.L +O ScreepsAutocomplete/Global/Constants.js /^ O: "OH",$/;" p property:REACTIONS.H +O ScreepsAutocomplete/Global/Constants.js /^ O: "UO"$/;" p property:REACTIONS.U +O ScreepsAutocomplete/Global/Constants.js /^ O: "ZO"$/;" p property:REACTIONS.Z +O ScreepsAutocomplete/Global/Constants.js /^ O: 140000,$/;" p variable:MINERAL_MIN_AMOUNT +O ScreepsAutocomplete/Global/Constants.js /^ O: {$/;" p variable:REACTIONS +OBSERVER_HITS ScreepsAutocomplete/Global/Constants.js /^const OBSERVER_HITS = 500;$/;" C +OBSERVER_RANGE ScreepsAutocomplete/Global/Constants.js /^const OBSERVER_RANGE = 10;$/;" C +OBSTACLE_OBJECT_TYPES ScreepsAutocomplete/Global/Constants.js /^const OBSTACLE_OBJECT_TYPES = ["spawn", "creep", "powerCreep", "source", "mineral", "controller"/;" v +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "GH2O"$/;" p property:REACTIONS.GH +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "GHO2"$/;" p property:REACTIONS.GO +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "KH2O"$/;" p property:REACTIONS.KH +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "KHO2"$/;" p property:REACTIONS.KO +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "LH2O"$/;" p property:REACTIONS.LH +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "LHO2"$/;" p property:REACTIONS.LO +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "UH2O"$/;" p property:REACTIONS.UH +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "UHO2"$/;" p property:REACTIONS.UO +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "ZH2O"$/;" p property:REACTIONS.ZH +OH ScreepsAutocomplete/Global/Constants.js /^ OH: "ZHO2"$/;" p property:REACTIONS.ZO +OH ScreepsAutocomplete/Global/Constants.js /^ OH: 20,$/;" p variable:REACTION_TIME +OH ScreepsAutocomplete/Global/Constants.js /^ OH: {$/;" p variable:REACTIONS +OK ScreepsAutocomplete/Global/Constants.js /^const OK = 0;$/;" C +OPERATOR ScreepsAutocomplete/Global/Constants.js /^const POWER_CLASS = { OPERATOR: 'operator' };$/;" p variable:POWER_CLASS +ORDER_BUY ScreepsAutocomplete/Global/Constants.js /^const ORDER_BUY = 'buy';$/;" C +ORDER_SELL ScreepsAutocomplete/Global/Constants.js /^const ORDER_SELL = 'sell';$/;" C +Order ScreepsAutocomplete/Order.js /^Order = {$/;" v +OwnedStructure ScreepsAutocomplete/OwnedStructure.js /^OwnedStructure = function() { };$/;" c +PORTAL_DECAY ScreepsAutocomplete/Global/Constants.js /^const PORTAL_DECAY = 30000;$/;" C +POWER_BANK_CAPACITY_CRIT ScreepsAutocomplete/Global/Constants.js /^const POWER_BANK_CAPACITY_CRIT = 0.3;$/;" C +POWER_BANK_CAPACITY_MAX ScreepsAutocomplete/Global/Constants.js /^const POWER_BANK_CAPACITY_MAX = 5000;$/;" C +POWER_BANK_CAPACITY_MIN ScreepsAutocomplete/Global/Constants.js /^const POWER_BANK_CAPACITY_MIN = 500;$/;" C +POWER_BANK_DECAY ScreepsAutocomplete/Global/Constants.js /^const POWER_BANK_DECAY = 5000;$/;" C +POWER_BANK_HITS ScreepsAutocomplete/Global/Constants.js /^const POWER_BANK_HITS = 2000000;$/;" C +POWER_BANK_HIT_BACK ScreepsAutocomplete/Global/Constants.js /^const POWER_BANK_HIT_BACK = 0.5;$/;" C +POWER_CLASS ScreepsAutocomplete/Global/Constants.js /^const POWER_CLASS = { OPERATOR: 'operator' };$/;" v +POWER_CREEP_DELETE_COOLDOWN ScreepsAutocomplete/Global/Constants.js /^const POWER_CREEP_DELETE_COOLDOWN = 24*3600*1000;$/;" C +POWER_CREEP_LIFE_TIME ScreepsAutocomplete/Global/Constants.js /^const POWER_CREEP_LIFE_TIME = 5000;$/;" C +POWER_CREEP_MAX_LEVEL ScreepsAutocomplete/Global/Constants.js /^const POWER_CREEP_MAX_LEVEL = 25;$/;" C +POWER_CREEP_SPAWN_COOLDOWN ScreepsAutocomplete/Global/Constants.js /^const POWER_CREEP_SPAWN_COOLDOWN = 8*3600*1000;$/;" C +POWER_INFO ScreepsAutocomplete/Global/Constants.js /^const POWER_INFO = {$/;" v +POWER_LEVEL_MULTIPLY ScreepsAutocomplete/Global/Constants.js /^const POWER_LEVEL_MULTIPLY = 1000;$/;" C +POWER_LEVEL_POW ScreepsAutocomplete/Global/Constants.js /^const POWER_LEVEL_POW = 2;$/;" C +POWER_SPAWN_ENERGY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const POWER_SPAWN_ENERGY_CAPACITY = 5000;$/;" C +POWER_SPAWN_ENERGY_RATIO ScreepsAutocomplete/Global/Constants.js /^const POWER_SPAWN_ENERGY_RATIO = 50;$/;" C +POWER_SPAWN_HITS ScreepsAutocomplete/Global/Constants.js /^const POWER_SPAWN_HITS = 5000;$/;" C +POWER_SPAWN_POWER_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const POWER_SPAWN_POWER_CAPACITY = 100;$/;" C +PWR_DISRUPT_SOURCE ScreepsAutocomplete/Global/Constants.js /^const PWR_DISRUPT_SOURCE = 11;$/;" C +PWR_DISRUPT_SPAWN ScreepsAutocomplete/Global/Constants.js /^const PWR_DISRUPT_SPAWN = 9;$/;" C +PWR_DISRUPT_TERMINAL ScreepsAutocomplete/Global/Constants.js /^const PWR_DISRUPT_TERMINAL = 15;$/;" C +PWR_DISRUPT_TOWER ScreepsAutocomplete/Global/Constants.js /^const PWR_DISRUPT_TOWER = 10;$/;" C +PWR_FORTIFY ScreepsAutocomplete/Global/Constants.js /^const PWR_FORTIFY = 17;$/;" C +PWR_GENERATE_OPS ScreepsAutocomplete/Global/Constants.js /^const PWR_GENERATE_OPS = 1;$/;" C +PWR_OPERATE_CONTROLLER ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_CONTROLLER = 18;$/;" C +PWR_OPERATE_EXTENSION ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_EXTENSION = 6;$/;" C +PWR_OPERATE_FACTORY ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_FACTORY = 19;$/;" C +PWR_OPERATE_LAB ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_LAB = 5;$/;" C +PWR_OPERATE_OBSERVER ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_OBSERVER = 7;$/;" C +PWR_OPERATE_POWER ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_POWER = 16;$/;" C +PWR_OPERATE_SPAWN ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_SPAWN = 2;$/;" C +PWR_OPERATE_STORAGE ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_STORAGE = 4;$/;" C +PWR_OPERATE_TERMINAL ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_TERMINAL = 8;$/;" C +PWR_OPERATE_TOWER ScreepsAutocomplete/Global/Constants.js /^const PWR_OPERATE_TOWER = 3;$/;" C +PWR_REGEN_MINERAL ScreepsAutocomplete/Global/Constants.js /^const PWR_REGEN_MINERAL = 14;$/;" C +PWR_REGEN_SOURCE ScreepsAutocomplete/Global/Constants.js /^const PWR_REGEN_SOURCE = 13;$/;" C +PWR_SHIELD ScreepsAutocomplete/Global/Constants.js /^const PWR_SHIELD = 12;$/;" C +PathFinder ScreepsAutocomplete/PathFinder.js /^PathFinder =$/;" v +PowerCreep ScreepsAutocomplete/PowerCreep.js /^PowerCreep = function() { };$/;" c +RAMPART_DECAY_AMOUNT ScreepsAutocomplete/Global/Constants.js /^const RAMPART_DECAY_AMOUNT = 300;$/;" C +RAMPART_DECAY_TIME ScreepsAutocomplete/Global/Constants.js /^const RAMPART_DECAY_TIME = 100;$/;" C +RAMPART_HITS ScreepsAutocomplete/Global/Constants.js /^const RAMPART_HITS = 1;$/;" C +RAMPART_HITS_MAX ScreepsAutocomplete/Global/Constants.js /^const RAMPART_HITS_MAX = {$/;" v +RANGED_ATTACK ScreepsAutocomplete/Global/Constants.js /^const RANGED_ATTACK = "ranged_attack";$/;" C +RANGED_ATTACK_POWER ScreepsAutocomplete/Global/Constants.js /^const RANGED_ATTACK_POWER = 10;$/;" C +RANGED_HEAL_POWER ScreepsAutocomplete/Global/Constants.js /^const RANGED_HEAL_POWER = 4;$/;" C +REACTIONS ScreepsAutocomplete/Global/Constants.js /^const REACTIONS = {$/;" v +REACTION_TIME ScreepsAutocomplete/Global/Constants.js /^const REACTION_TIME = {$/;" v +REPAIR_COST ScreepsAutocomplete/Global/Constants.js /^const REPAIR_COST = 0.01;$/;" C +REPAIR_POWER ScreepsAutocomplete/Global/Constants.js /^const REPAIR_POWER = 100;$/;" C +RESOURCES_ALL ScreepsAutocomplete/Global/Constants.js /^const RESOURCES_ALL = [$/;" v +RESOURCE_ALLOY ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ALLOY = "alloy";$/;" C +RESOURCE_BATTERY ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_BATTERY = "battery";$/;" C +RESOURCE_BIOMASS ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_BIOMASS = "biomass";$/;" C +RESOURCE_CATALYST ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYST = "X";$/;" C +RESOURCE_CATALYZED_GHODIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_GHODIUM_ACID = "XGH2O";$/;" C +RESOURCE_CATALYZED_GHODIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_GHODIUM_ALKALIDE = "XGHO2";$/;" C +RESOURCE_CATALYZED_KEANIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_KEANIUM_ACID = "XKH2O";$/;" C +RESOURCE_CATALYZED_KEANIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_KEANIUM_ALKALIDE = "XKHO2";$/;" C +RESOURCE_CATALYZED_LEMERGIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_LEMERGIUM_ACID = "XLH2O";$/;" C +RESOURCE_CATALYZED_LEMERGIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_LEMERGIUM_ALKALIDE = "XLHO2";$/;" C +RESOURCE_CATALYZED_UTRIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_UTRIUM_ACID = "XUH2O";$/;" C +RESOURCE_CATALYZED_UTRIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_UTRIUM_ALKALIDE = "XUHO2";$/;" C +RESOURCE_CATALYZED_ZYNTHIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_ZYNTHIUM_ACID = "XZH2O";$/;" C +RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE = "XZHO2";$/;" C +RESOURCE_CELL ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CELL = "cell";$/;" C +RESOURCE_CIRCUIT ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CIRCUIT = "circuit";$/;" C +RESOURCE_COMPOSITE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_COMPOSITE = "composite";$/;" C +RESOURCE_CONCENTRATE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CONCENTRATE = "concentrate";$/;" C +RESOURCE_CONDENSATE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CONDENSATE = "condensate";$/;" C +RESOURCE_CRYSTAL ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_CRYSTAL = "crystal";$/;" C +RESOURCE_DEVICE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_DEVICE = "device";$/;" C +RESOURCE_EMANATION ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_EMANATION = "emanation";$/;" C +RESOURCE_ENERGY ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ENERGY = "energy";$/;" C +RESOURCE_ESSENCE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ESSENCE = "essence";$/;" C +RESOURCE_EXTRACT ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_EXTRACT = "extract";$/;" C +RESOURCE_FIXTURES ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_FIXTURES = "fixtures";$/;" C +RESOURCE_FRAME ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_FRAME = "frame";$/;" C +RESOURCE_GHODIUM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_GHODIUM = "G";$/;" C +RESOURCE_GHODIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_GHODIUM_ACID = "GH2O";$/;" C +RESOURCE_GHODIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_GHODIUM_ALKALIDE = "GHO2";$/;" C +RESOURCE_GHODIUM_HYDRIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_GHODIUM_HYDRIDE = "GH";$/;" C +RESOURCE_GHODIUM_MELT ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_GHODIUM_MELT = "ghodium_melt";$/;" C +RESOURCE_GHODIUM_OXIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_GHODIUM_OXIDE = "GO";$/;" C +RESOURCE_HYDRAULICS ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_HYDRAULICS = "hydraulics";$/;" C +RESOURCE_HYDROGEN ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_HYDROGEN = "H";$/;" C +RESOURCE_HYDROXIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_HYDROXIDE = "OH";$/;" C +RESOURCE_KEANIUM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_KEANIUM = "K";$/;" C +RESOURCE_KEANIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_KEANIUM_ACID = "KH2O";$/;" C +RESOURCE_KEANIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_KEANIUM_ALKALIDE = "KHO2";$/;" C +RESOURCE_KEANIUM_BAR ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_KEANIUM_BAR = "keanium_bar";$/;" C +RESOURCE_KEANIUM_HYDRIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_KEANIUM_HYDRIDE = "KH";$/;" C +RESOURCE_KEANIUM_OXIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_KEANIUM_OXIDE = "KO";$/;" C +RESOURCE_LEMERGIUM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LEMERGIUM = "L";$/;" C +RESOURCE_LEMERGIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LEMERGIUM_ACID = "LH2O";$/;" C +RESOURCE_LEMERGIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LEMERGIUM_ALKALIDE = "LHO2";$/;" C +RESOURCE_LEMERGIUM_BAR ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LEMERGIUM_BAR = "lemergium_bar";$/;" C +RESOURCE_LEMERGIUM_HYDRIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LEMERGIUM_HYDRIDE = "LH";$/;" C +RESOURCE_LEMERGIUM_OXIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LEMERGIUM_OXIDE = "LO";$/;" C +RESOURCE_LIQUID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_LIQUID = "liquid";$/;" C +RESOURCE_MACHINE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_MACHINE = "machine";$/;" C +RESOURCE_METAL ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_METAL = "metal";$/;" C +RESOURCE_MICROCHIP ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_MICROCHIP = "microchip";$/;" C +RESOURCE_MIST ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_MIST = "mist";$/;" C +RESOURCE_MUSCLE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_MUSCLE = "muscle";$/;" C +RESOURCE_OPS ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_OPS = "ops";$/;" C +RESOURCE_ORGANISM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ORGANISM = "organism";$/;" C +RESOURCE_ORGANOID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ORGANOID = "organoid";$/;" C +RESOURCE_OXIDANT ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_OXIDANT = "oxidant";$/;" C +RESOURCE_OXYGEN ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_OXYGEN = "O";$/;" C +RESOURCE_PHLEGM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_PHLEGM = "phlegm";$/;" C +RESOURCE_POWER ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_POWER = "power";$/;" C +RESOURCE_PURIFIER ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_PURIFIER = "purifier";$/;" C +RESOURCE_REDUCTANT ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_REDUCTANT = "reductant";$/;" C +RESOURCE_SILICON ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_SILICON = "silicon";$/;" C +RESOURCE_SPIRIT ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_SPIRIT = "spirit";$/;" C +RESOURCE_SWITCH ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_SWITCH = "switch";$/;" C +RESOURCE_TISSUE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_TISSUE = "tissue";$/;" C +RESOURCE_TRANSISTOR ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_TRANSISTOR = "transistor";$/;" C +RESOURCE_TUBE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_TUBE = "tube";$/;" C +RESOURCE_UTRIUM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM = "U";$/;" C +RESOURCE_UTRIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM_ACID = "UH2O";$/;" C +RESOURCE_UTRIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM_ALKALIDE = "UHO2";$/;" C +RESOURCE_UTRIUM_BAR ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM_BAR = "utrium_bar";$/;" C +RESOURCE_UTRIUM_HYDRIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM_HYDRIDE = "UH";$/;" C +RESOURCE_UTRIUM_LEMERGITE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM_LEMERGITE = "UL";$/;" C +RESOURCE_UTRIUM_OXIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_UTRIUM_OXIDE = "UO";$/;" C +RESOURCE_WIRE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_WIRE = "wire";$/;" C +RESOURCE_ZYNTHIUM ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM = "Z";$/;" C +RESOURCE_ZYNTHIUM_ACID ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM_ACID = "ZH2O";$/;" C +RESOURCE_ZYNTHIUM_ALKALIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM_ALKALIDE = "ZHO2";$/;" C +RESOURCE_ZYNTHIUM_BAR ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM_BAR = "zynthium_bar";$/;" C +RESOURCE_ZYNTHIUM_HYDRIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM_HYDRIDE = "ZH";$/;" C +RESOURCE_ZYNTHIUM_KEANITE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM_KEANITE = "ZK";$/;" C +RESOURCE_ZYNTHIUM_OXIDE ScreepsAutocomplete/Global/Constants.js /^const RESOURCE_ZYNTHIUM_OXIDE = "ZO";$/;" C +RIGHT ScreepsAutocomplete/Global/Constants.js /^const RIGHT = 3;$/;" C +ROAD_DECAY_AMOUNT ScreepsAutocomplete/Global/Constants.js /^const ROAD_DECAY_AMOUNT = 100;$/;" C +ROAD_DECAY_TIME ScreepsAutocomplete/Global/Constants.js /^const ROAD_DECAY_TIME = 1000;$/;" C +ROAD_HITS ScreepsAutocomplete/Global/Constants.js /^const ROAD_HITS = 5000;$/;" C +ROAD_WEAROUT ScreepsAutocomplete/Global/Constants.js /^const ROAD_WEAROUT = 1;$/;" C +RawMemory ScreepsAutocomplete/RawMemory.js /^RawMemory = {$/;" v +Resource ScreepsAutocomplete/Resource.js /^Resource = function() { };$/;" c +Room ScreepsAutocomplete/Room.js /^Room = {$/;" v +Room ScreepsAutocomplete/Room.js /^Room.prototype =$/;" c +RoomObject ScreepsAutocomplete/RoomObject.js /^RoomObject = function() { };$/;" c +RoomPosition ScreepsAutocomplete/RoomPosition.js /^RoomPosition = function(x, y, roomName) { };$/;" c +RoomVisual ScreepsAutocomplete/RoomVisual.js /^RoomVisual = function(roomName) { };$/;" c +Ruin ScreepsAutocomplete/Ruin.js /^Ruin = function () {$/;" c +SIGN_NOVICE_AREA ScreepsAutocomplete/Global/Constants.js /^const SIGN_NOVICE_AREA = 'A new Novice Area is being planned somewhere in this sector. Please ma/;" C +SIGN_PLANNED_AREA ScreepsAutocomplete/Global/Constants.js /^const SIGN_PLANNED_AREA = 'A new Novice or Respawn Area is being planned somewhere in this secto/;" C +SIGN_RESPAWN_AREA ScreepsAutocomplete/Global/Constants.js /^const SIGN_RESPAWN_AREA = 'A new Respawn Area is being planned somewhere in this sector. Please /;" C +SOURCE_ENERGY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const SOURCE_ENERGY_CAPACITY = 3000;$/;" C +SOURCE_ENERGY_KEEPER_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const SOURCE_ENERGY_KEEPER_CAPACITY = 4500;$/;" C +SOURCE_ENERGY_NEUTRAL_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const SOURCE_ENERGY_NEUTRAL_CAPACITY = 1500;$/;" C +SPAWN_ENERGY_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const SPAWN_ENERGY_CAPACITY = 300;$/;" C +SPAWN_ENERGY_START ScreepsAutocomplete/Global/Constants.js /^const SPAWN_ENERGY_START = 300;$/;" C +SPAWN_HITS ScreepsAutocomplete/Global/Constants.js /^const SPAWN_HITS = 5000;$/;" C +STORAGE_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const STORAGE_CAPACITY = 1000000;$/;" C +STORAGE_HITS ScreepsAutocomplete/Global/Constants.js /^const STORAGE_HITS = 10000;$/;" C +STRUCTURE_CONTAINER ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_CONTAINER = "container";$/;" C +STRUCTURE_CONTROLLER ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_CONTROLLER = "controller";$/;" C +STRUCTURE_EXTENSION ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_EXTENSION = "extension";$/;" C +STRUCTURE_EXTRACTOR ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_EXTRACTOR = "extractor";$/;" C +STRUCTURE_FACTORY ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_FACTORY = "factory";$/;" C +STRUCTURE_INVADER_CORE ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_INVADER_CORE = "invaderCore";$/;" C +STRUCTURE_KEEPER_LAIR ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_KEEPER_LAIR = "keeperLair";$/;" C +STRUCTURE_LAB ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_LAB = "lab";$/;" C +STRUCTURE_LINK ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_LINK = "link";$/;" C +STRUCTURE_NUKER ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_NUKER = "nuker";$/;" C +STRUCTURE_OBSERVER ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_OBSERVER = "observer";$/;" C +STRUCTURE_PORTAL ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_PORTAL = "portal";$/;" C +STRUCTURE_POWER_BANK ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_POWER_BANK = "powerBank";$/;" C +STRUCTURE_POWER_SPAWN ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_POWER_SPAWN = "powerSpawn";$/;" C +STRUCTURE_RAMPART ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_RAMPART = "rampart";$/;" C +STRUCTURE_ROAD ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_ROAD = "road";$/;" C +STRUCTURE_SPAWN ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_SPAWN = "spawn";$/;" C +STRUCTURE_STORAGE ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_STORAGE = "storage";$/;" C +STRUCTURE_TERMINAL ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_TERMINAL = "terminal";$/;" C +STRUCTURE_TOWER ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_TOWER = "tower";$/;" C +STRUCTURE_WALL ScreepsAutocomplete/Global/Constants.js /^const STRUCTURE_WALL = "constructedWall";$/;" C +SUBSCRIPTION_TOKEN ScreepsAutocomplete/Global/Constants.js /^const SUBSCRIPTION_TOKEN = 'token';$/;" C +SYSTEM_USERNAME ScreepsAutocomplete/Global/Constants.js /^const SYSTEM_USERNAME = 'Screeps';$/;" C +Screeps 4.x.x ScreepsAutocomplete/TODO.md /^## Screeps 4.x.x$/;" s +Screeps Autocomplete ScreepsAutocomplete/Readme.md /^Screeps Autocomplete$/;" c +Source ScreepsAutocomplete/Source.js /^Source = function() { };$/;" c +Spawn ScreepsAutocomplete/Structures/StructureSpawn.js /^Spawn.prototype = StructureSpawn.prototype;$/;" c +Spawning ScreepsAutocomplete/Structures/StructureSpawn.js /^StructureSpawn.Spawning = function () { };$/;" c class:StructureSpawn +Store ScreepsAutocomplete/Store.js /^Store = function() { };$/;" c +Structure ScreepsAutocomplete/Structure.js /^Structure = function() { };$/;" c +StructureContainer ScreepsAutocomplete/Structures/StructureContainer.js /^StructureContainer = function() { };$/;" c +StructureController ScreepsAutocomplete/Structures/StructureController.js /^StructureController = function() { };$/;" c +StructureExtension ScreepsAutocomplete/Structures/StructureExtension.js /^StructureExtension = function() { };$/;" c +StructureExtractor ScreepsAutocomplete/Structures/StructureExtractor.js /^StructureExtractor = function() { };$/;" c +StructureFactory ScreepsAutocomplete/Structures/StructureFactory.js /^StructureFactory = function () {$/;" c +StructureInvaderCore ScreepsAutocomplete/Structures/StructureInvaderCore.js /^StructureInvaderCore = function () {$/;" c +StructureKeeperLair ScreepsAutocomplete/Structures/StructureKeeperLair.js /^StructureKeeperLair = function() { };$/;" c +StructureLab ScreepsAutocomplete/Structures/StructureLab.js /^StructureLab = function() { };$/;" c +StructureLink ScreepsAutocomplete/Structures/StructureLink.js /^StructureLink = function() { };$/;" c +StructureNuker ScreepsAutocomplete/Structures/StructureNuker.js /^StructureNuker = function() { };$/;" c +StructureObserver ScreepsAutocomplete/Structures/StructureObserver.js /^StructureObserver = function() { };$/;" c +StructurePortal ScreepsAutocomplete/Structures/StructurePortal.js /^StructurePortal = function() { };$/;" c +StructurePowerBank ScreepsAutocomplete/Structures/StructurePowerBank.js /^StructurePowerBank = function() { };$/;" c +StructurePowerSpawn ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^StructurePowerSpawn = function() { };$/;" c +StructureRampart ScreepsAutocomplete/Structures/StructureRampart.js /^StructureRampart = function() { };$/;" c +StructureRoad ScreepsAutocomplete/Structures/StructureRoad.js /^StructureRoad = function() { };$/;" c +StructureSpawn ScreepsAutocomplete/Structures/StructureSpawn.js /^StructureSpawn = function() { };$/;" c +StructureStorage ScreepsAutocomplete/Structures/StructureStorage.js /^StructureStorage = function() { };$/;" c +StructureTerminal ScreepsAutocomplete/Structures/StructureTerminal.js /^StructureTerminal = function() { };$/;" c +StructureTower ScreepsAutocomplete/Structures/StructureTower.js /^StructureTower = function() { };$/;" c +StructureWall ScreepsAutocomplete/Structures/StructureWall.js /^StructureWall = function() { };$/;" c +Sublime Text ScreepsAutocomplete/Readme.md /^#### Sublime Text$/;" t section:Screeps Autocomplete""How to Install +TERMINAL_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const TERMINAL_CAPACITY = 300000;$/;" C +TERMINAL_COOLDOWN ScreepsAutocomplete/Global/Constants.js /^const TERMINAL_COOLDOWN = 10;$/;" C +TERMINAL_HITS ScreepsAutocomplete/Global/Constants.js /^const TERMINAL_HITS = 3000;$/;" C +TERMINAL_MIN_SEND ScreepsAutocomplete/Global/Constants.js /^const TERMINAL_MIN_SEND = 100;$/;" C +TERMINAL_SEND_COST ScreepsAutocomplete/Global/Constants.js /^const TERMINAL_SEND_COST = 0.1;$/;" C +TERRAIN_MASK_LAVA ScreepsAutocomplete/Global/Constants.js /^const TERRAIN_MASK_LAVA = 4;$/;" C +TERRAIN_MASK_SWAMP ScreepsAutocomplete/Global/Constants.js /^const TERRAIN_MASK_SWAMP = 2;$/;" C +TERRAIN_MASK_WALL ScreepsAutocomplete/Global/Constants.js /^const TERRAIN_MASK_WALL = 1;$/;" C +TODO ScreepsAutocomplete/TODO.md /^## TODO$/;" s +TOMBSTONE_DECAY_PER_PART ScreepsAutocomplete/Global/Constants.js /^const TOMBSTONE_DECAY_PER_PART = 5;$/;" C +TOP ScreepsAutocomplete/Global/Constants.js /^const TOP = 1;$/;" C +TOP_LEFT ScreepsAutocomplete/Global/Constants.js /^const TOP_LEFT = 8;$/;" C +TOP_RIGHT ScreepsAutocomplete/Global/Constants.js /^const TOP_RIGHT = 2;$/;" C +TOUGH ScreepsAutocomplete/Global/Constants.js /^const TOUGH = "tough";$/;" C +TOWER_CAPACITY ScreepsAutocomplete/Global/Constants.js /^const TOWER_CAPACITY = 1000;$/;" C +TOWER_ENERGY_COST ScreepsAutocomplete/Global/Constants.js /^const TOWER_ENERGY_COST = 10;$/;" C +TOWER_FALLOFF ScreepsAutocomplete/Global/Constants.js /^const TOWER_FALLOFF = 0.75;$/;" C +TOWER_FALLOFF_RANGE ScreepsAutocomplete/Global/Constants.js /^const TOWER_FALLOFF_RANGE = 20;$/;" C +TOWER_HITS ScreepsAutocomplete/Global/Constants.js /^const TOWER_HITS = 3000;$/;" C +TOWER_OPTIMAL_RANGE ScreepsAutocomplete/Global/Constants.js /^const TOWER_OPTIMAL_RANGE = 5;$/;" C +TOWER_POWER_ATTACK ScreepsAutocomplete/Global/Constants.js /^const TOWER_POWER_ATTACK = 600;$/;" C +TOWER_POWER_HEAL ScreepsAutocomplete/Global/Constants.js /^const TOWER_POWER_HEAL = 400;$/;" C +TOWER_POWER_REPAIR ScreepsAutocomplete/Global/Constants.js /^const TOWER_POWER_REPAIR = 800;$/;" C +Terrain ScreepsAutocomplete/Room.js /^Room.Terrain = function(roomName) {};$/;" c class:Room +Tombstone ScreepsAutocomplete/Tombstone.js /^Tombstone = function() { };$/;" c +U ScreepsAutocomplete/Global/Constants.js /^ U: "UH",$/;" p property:REACTIONS.H +U ScreepsAutocomplete/Global/Constants.js /^ U: "UL",$/;" p property:REACTIONS.L +U ScreepsAutocomplete/Global/Constants.js /^ U: "UO",$/;" p property:REACTIONS.O +U ScreepsAutocomplete/Global/Constants.js /^ U: 70000,$/;" p variable:MINERAL_MIN_AMOUNT +U ScreepsAutocomplete/Global/Constants.js /^ U: {$/;" p variable:REACTIONS +UH ScreepsAutocomplete/Global/Constants.js /^ UH: "UH2O",$/;" p property:REACTIONS.OH +UH ScreepsAutocomplete/Global/Constants.js /^ UH: {$/;" p property:BOOSTS.attack +UH ScreepsAutocomplete/Global/Constants.js /^ UH: 10,$/;" p variable:REACTION_TIME +UH ScreepsAutocomplete/Global/Constants.js /^ UH: {$/;" p variable:REACTIONS +UH2O ScreepsAutocomplete/Global/Constants.js /^ UH2O: "XUH2O",$/;" p property:REACTIONS.X +UH2O ScreepsAutocomplete/Global/Constants.js /^ UH2O: {$/;" p property:BOOSTS.attack +UH2O ScreepsAutocomplete/Global/Constants.js /^ UH2O: 5,$/;" p variable:REACTION_TIME +UH2O ScreepsAutocomplete/Global/Constants.js /^ UH2O: {$/;" p variable:REACTIONS +UHO2 ScreepsAutocomplete/Global/Constants.js /^ UHO2: "XUHO2",$/;" p property:REACTIONS.X +UHO2 ScreepsAutocomplete/Global/Constants.js /^ UHO2: {$/;" p property:BOOSTS.work +UHO2 ScreepsAutocomplete/Global/Constants.js /^ UHO2: 5,$/;" p variable:REACTION_TIME +UHO2 ScreepsAutocomplete/Global/Constants.js /^ UHO2: {$/;" p variable:REACTIONS +UL ScreepsAutocomplete/Global/Constants.js /^ UL: "G"$/;" p property:REACTIONS.ZK +UL ScreepsAutocomplete/Global/Constants.js /^ UL: 5,$/;" p variable:REACTION_TIME +UL ScreepsAutocomplete/Global/Constants.js /^ UL: {$/;" p variable:REACTIONS +UO ScreepsAutocomplete/Global/Constants.js /^ UO: "UHO2",$/;" p property:REACTIONS.OH +UO ScreepsAutocomplete/Global/Constants.js /^ UO: {$/;" p property:BOOSTS.work +UO ScreepsAutocomplete/Global/Constants.js /^ UO: 10,$/;" p variable:REACTION_TIME +UO ScreepsAutocomplete/Global/Constants.js /^ UO: {$/;" p variable:REACTIONS +UPGRADE_CONTROLLER_POWER ScreepsAutocomplete/Global/Constants.js /^const UPGRADE_CONTROLLER_POWER = 1;$/;" C +Visual Studio ScreepsAutocomplete/Readme.md /^#### Visual Studio$/;" t section:Screeps Autocomplete""How to Install +WALL_HITS ScreepsAutocomplete/Global/Constants.js /^const WALL_HITS = 1;$/;" C +WALL_HITS_MAX ScreepsAutocomplete/Global/Constants.js /^const WALL_HITS_MAX = 300000000;$/;" C +WORK ScreepsAutocomplete/Global/Constants.js /^const WORK = "work";$/;" C +Webstorm (Or Other Jetbrains IDE's) ScreepsAutocomplete/Readme.md /^#### Webstorm (Or Other Jetbrains IDE's)$/;" t section:Screeps Autocomplete""How to Install +X ScreepsAutocomplete/Global/Constants.js /^ X: "XGH2O"$/;" p property:REACTIONS.GH2O +X ScreepsAutocomplete/Global/Constants.js /^ X: "XGHO2"$/;" p property:REACTIONS.GHO2 +X ScreepsAutocomplete/Global/Constants.js /^ X: "XKH2O"$/;" p property:REACTIONS.KH2O +X ScreepsAutocomplete/Global/Constants.js /^ X: "XKHO2"$/;" p property:REACTIONS.KHO2 +X ScreepsAutocomplete/Global/Constants.js /^ X: "XLH2O"$/;" p property:REACTIONS.LH2O +X ScreepsAutocomplete/Global/Constants.js /^ X: "XLHO2"$/;" p property:REACTIONS.LHO2 +X ScreepsAutocomplete/Global/Constants.js /^ X: "XUH2O"$/;" p property:REACTIONS.UH2O +X ScreepsAutocomplete/Global/Constants.js /^ X: "XUHO2"$/;" p property:REACTIONS.UHO2 +X ScreepsAutocomplete/Global/Constants.js /^ X: "XZH2O"$/;" p property:REACTIONS.ZH2O +X ScreepsAutocomplete/Global/Constants.js /^ X: "XZHO2"$/;" p property:REACTIONS.ZHO2 +X ScreepsAutocomplete/Global/Constants.js /^ X: 70000$/;" p variable:MINERAL_MIN_AMOUNT +X ScreepsAutocomplete/Global/Constants.js /^ X: {$/;" p variable:REACTIONS +XGH2O ScreepsAutocomplete/Global/Constants.js /^ XGH2O: {$/;" p property:BOOSTS.work +XGH2O ScreepsAutocomplete/Global/Constants.js /^ XGH2O: 80,$/;" p variable:REACTION_TIME +XGHO2 ScreepsAutocomplete/Global/Constants.js /^ XGHO2: {$/;" p property:BOOSTS.tough +XGHO2 ScreepsAutocomplete/Global/Constants.js /^ XGHO2: 150,$/;" p variable:REACTION_TIME +XKH2O ScreepsAutocomplete/Global/Constants.js /^ XKH2O: {$/;" p property:BOOSTS.carry +XKH2O ScreepsAutocomplete/Global/Constants.js /^ XKH2O: 60,$/;" p variable:REACTION_TIME +XKHO2 ScreepsAutocomplete/Global/Constants.js /^ XKHO2: {$/;" p property:BOOSTS.ranged_attack +XKHO2 ScreepsAutocomplete/Global/Constants.js /^ XKHO2: 60,$/;" p variable:REACTION_TIME +XLH2O ScreepsAutocomplete/Global/Constants.js /^ XLH2O: {$/;" p property:BOOSTS.work +XLH2O ScreepsAutocomplete/Global/Constants.js /^ XLH2O: 65,$/;" p variable:REACTION_TIME +XLHO2 ScreepsAutocomplete/Global/Constants.js /^ XLHO2: {$/;" p property:BOOSTS.heal +XLHO2 ScreepsAutocomplete/Global/Constants.js /^ XLHO2: 60,$/;" p variable:REACTION_TIME +XUH2O ScreepsAutocomplete/Global/Constants.js /^ XUH2O: {$/;" p property:BOOSTS.attack +XUH2O ScreepsAutocomplete/Global/Constants.js /^ XUH2O: 60,$/;" p variable:REACTION_TIME +XUHO2 ScreepsAutocomplete/Global/Constants.js /^ XUHO2: {$/;" p property:BOOSTS.work +XUHO2 ScreepsAutocomplete/Global/Constants.js /^ XUHO2: 60,$/;" p variable:REACTION_TIME +XZH2O ScreepsAutocomplete/Global/Constants.js /^ XZH2O: {$/;" p property:BOOSTS.work +XZH2O ScreepsAutocomplete/Global/Constants.js /^ XZH2O: 160,$/;" p variable:REACTION_TIME +XZHO2 ScreepsAutocomplete/Global/Constants.js /^ XZHO2: {$/;" p property:BOOSTS.move +XZHO2 ScreepsAutocomplete/Global/Constants.js /^ XZHO2: 60,$/;" p variable:REACTION_TIME +Z ScreepsAutocomplete/Global/Constants.js /^ Z: "ZH",$/;" p property:REACTIONS.H +Z ScreepsAutocomplete/Global/Constants.js /^ Z: "ZK",$/;" p property:REACTIONS.K +Z ScreepsAutocomplete/Global/Constants.js /^ Z: "ZO",$/;" p property:REACTIONS.O +Z ScreepsAutocomplete/Global/Constants.js /^ Z: 70000,$/;" p variable:MINERAL_MIN_AMOUNT +Z ScreepsAutocomplete/Global/Constants.js /^ Z: {$/;" p variable:REACTIONS +ZH ScreepsAutocomplete/Global/Constants.js /^ ZH: "ZH2O",$/;" p property:REACTIONS.OH +ZH ScreepsAutocomplete/Global/Constants.js /^ ZH: {$/;" p property:BOOSTS.work +ZH ScreepsAutocomplete/Global/Constants.js /^ ZH: 20,$/;" p variable:REACTION_TIME +ZH ScreepsAutocomplete/Global/Constants.js /^ ZH: {$/;" p variable:REACTIONS +ZH2O ScreepsAutocomplete/Global/Constants.js /^ ZH2O: "XZH2O",$/;" p property:REACTIONS.X +ZH2O ScreepsAutocomplete/Global/Constants.js /^ ZH2O: {$/;" p property:BOOSTS.work +ZH2O ScreepsAutocomplete/Global/Constants.js /^ ZH2O: 40,$/;" p variable:REACTION_TIME +ZH2O ScreepsAutocomplete/Global/Constants.js /^ ZH2O: {$/;" p variable:REACTIONS +ZHO2 ScreepsAutocomplete/Global/Constants.js /^ ZHO2: "XZHO2",$/;" p property:REACTIONS.X +ZHO2 ScreepsAutocomplete/Global/Constants.js /^ ZHO2: {$/;" p property:BOOSTS.move +ZHO2 ScreepsAutocomplete/Global/Constants.js /^ ZHO2: 5,$/;" p variable:REACTION_TIME +ZHO2 ScreepsAutocomplete/Global/Constants.js /^ ZHO2: {$/;" p variable:REACTIONS +ZK ScreepsAutocomplete/Global/Constants.js /^ ZK: "G"$/;" p property:REACTIONS.UL +ZK ScreepsAutocomplete/Global/Constants.js /^ ZK: 5,$/;" p variable:REACTION_TIME +ZK ScreepsAutocomplete/Global/Constants.js /^ ZK: {$/;" p variable:REACTIONS +ZO ScreepsAutocomplete/Global/Constants.js /^ ZO: "ZHO2",$/;" p property:REACTIONS.OH +ZO ScreepsAutocomplete/Global/Constants.js /^ ZO: {$/;" p property:BOOSTS.move +ZO ScreepsAutocomplete/Global/Constants.js /^ ZO: 10,$/;" p variable:REACTION_TIME +ZO ScreepsAutocomplete/Global/Constants.js /^ ZO: {$/;" p variable:REACTIONS +[exports.PWR_DISRUPT_SOURCE] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_DISRUPT_SOURCE]: {$/;" p variable:POWER_INFO +[exports.PWR_DISRUPT_SPAWN] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_DISRUPT_SPAWN]: {$/;" p variable:POWER_INFO +[exports.PWR_DISRUPT_TERMINAL] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_DISRUPT_TERMINAL]: {$/;" p variable:POWER_INFO +[exports.PWR_DISRUPT_TOWER] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_DISRUPT_TOWER]: {$/;" p variable:POWER_INFO +[exports.PWR_FORTIFY] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_FORTIFY]: {$/;" p variable:POWER_INFO +[exports.PWR_GENERATE_OPS] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_GENERATE_OPS]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_CONTROLLER] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_CONTROLLER]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_EXTENSION] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_EXTENSION]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_FACTORY] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_FACTORY]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_LAB] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_LAB]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_OBSERVER] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_OBSERVER]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_POWER] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_POWER]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_SPAWN] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_SPAWN]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_STORAGE] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_STORAGE]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_TERMINAL] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_TERMINAL]: {$/;" p variable:POWER_INFO +[exports.PWR_OPERATE_TOWER] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_OPERATE_TOWER]: {$/;" p variable:POWER_INFO +[exports.PWR_REGEN_MINERAL] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_REGEN_MINERAL]: {$/;" p variable:POWER_INFO +[exports.PWR_REGEN_SOURCE] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_REGEN_SOURCE]: {$/;" p variable:POWER_INFO +[exports.PWR_SHIELD] ScreepsAutocomplete/Global/Constants.js /^ [exports.PWR_SHIELD]: {$/;" p variable:POWER_INFO +activateSafeMode ScreepsAutocomplete/Structures/StructureController.js /^ activateSafeMode: function() {},$/;" m class:StructureController +active ScreepsAutocomplete/Order.js /^ active: true,$/;" p variable:Order +align main.js /^ {align: 'left', opacity: 0.8});$/;" p variable:anonymousObjectb43910f50305 +amount ScreepsAutocomplete/Order.js /^ amount: 0,$/;" p variable:Order +amount ScreepsAutocomplete/Resource.js /^ amount: 0,$/;" p class:Resource +anonymousObject2f89e08a0105 role.repairer.js /^ var targets = creep.room.find(FIND_STRUCTURES, {$/;" v method:roleRepairer.run +anonymousObject2f89e08a0205 role.repairer.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" v +anonymousObject764534440105 role.harvester.js /^ creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" v +anonymousObjectb43910f50205 main.js /^ {memory: {role: role}});$/;" v +anonymousObjectb43910f50305 main.js /^ {align: 'left', opacity: 0.8});$/;" v +anonymousObjectd2a968f90105 utils.energy.js /^ var storage = creep.room.find(FIND_STRUCTURES, {$/;" v method:energyUtils.gatherEnergy +anonymousObjectd2a968f90205 utils.energy.js /^ creep.moveTo(storage[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" v +anonymousObjectd2a968f90305 utils.energy.js /^ var targets = creep.room.find(FIND_STRUCTURES, {$/;" v method:energyUtils.depositEnergy +anonymousObjectd2a968f90405 utils.energy.js /^ targets = creep.room.find(FIND_STRUCTURES, {$/;" v method:energyUtils.depositEnergy +anonymousObjectd2a968f90505 utils.energy.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" v +anonymousObjectdcb57f170105 role.builder.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" v +anonymousObjectefdc76230105 role.guard.js /^ creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" v +anonymousObjectfb9947ca0105 role.upgrader.js /^ creep.moveTo(creep.room.controller, {visualizePathStyle: {stroke: '#ffffff'}});$/;" v +anonymousObjectfb9947ca0205 role.upgrader.js /^ creep.moveTo(sources[1], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" v +attack ScreepsAutocomplete/Creep.js /^ attack: function(target) { },$/;" m class:Creep +attack ScreepsAutocomplete/Global/Constants.js /^ attack: 2$/;" p property:BOOSTS.attack.UH +attack ScreepsAutocomplete/Global/Constants.js /^ attack: 3$/;" p property:BOOSTS.attack.UH2O +attack ScreepsAutocomplete/Global/Constants.js /^ attack: 4$/;" p property:BOOSTS.attack.XUH2O +attack ScreepsAutocomplete/Global/Constants.js /^ attack: 80,$/;" p variable:BODYPART_COST +attack ScreepsAutocomplete/Global/Constants.js /^ attack: {$/;" p variable:BOOSTS +attack ScreepsAutocomplete/Structures/StructureTower.js /^ attack: function(target) { },$/;" m class:StructureTower +attackController ScreepsAutocomplete/Creep.js /^ attackController: function(target) { },$/;" m class:Creep +author ScreepsAutocomplete/package.json /^ "author": "Garethp",$/;" s +body ScreepsAutocomplete/Creep.js /^ body: [],$/;" p class:Creep +boostCreep ScreepsAutocomplete/Structures/StructureLab.js /^ boostCreep: function(creep, bodyPartsCount) { },$/;" m class:StructureLab +bucket ScreepsAutocomplete/Game.js /^ bucket: 0,$/;" p property:Game.cpu +bugs ScreepsAutocomplete/package.json /^ "bugs": {$/;" o +build ScreepsAutocomplete/Creep.js /^ build: function(target) { },$/;" m class:Creep +build ScreepsAutocomplete/Global/Constants.js /^ build: 1.3,$/;" p property:BOOSTS.work.LH +build ScreepsAutocomplete/Global/Constants.js /^ build: 1.65,$/;" p property:BOOSTS.work.LH2O +build ScreepsAutocomplete/Global/Constants.js /^ build: 2,$/;" p property:BOOSTS.work.XLH2O +builder main.js /^var creepCounts = {"harvester" : 3, "builder" : 1, "upgrader" : 2, "repairer" : 1};$/;" p variable:creepCounts +builder role.dispatcher.js /^ builder: roleBuilder,$/;" p variable:roleMap +calcTransactionCost ScreepsAutocomplete/Game.js /^ calcTransactionCost: function (amount, roomName1, roomName2) { },$/;" m property:Game.market +canCreateCreep ScreepsAutocomplete/Structures/StructureSpawn.js /^ canCreateCreep: function(body, name) { },$/;" m class:StructureSpawn +cancel ScreepsAutocomplete/Structures/StructureSpawn.js /^ cancel: function() { },$/;" m class:StructureSpawn.Spawning +cancelOrder ScreepsAutocomplete/Creep.js /^ cancelOrder: function(methodName) { },$/;" m class:Creep +cancelOrder ScreepsAutocomplete/Game.js /^ cancelOrder: function (orderId) { },$/;" m property:Game.market +cancelOrder ScreepsAutocomplete/PowerCreep.js /^ cancelOrder: function(methodName) { },$/;" m class:PowerCreep +capacity ScreepsAutocomplete/Global/Constants.js /^ capacity: 2$/;" p property:BOOSTS.carry.KH +capacity ScreepsAutocomplete/Global/Constants.js /^ capacity: 3$/;" p property:BOOSTS.carry.KH2O +capacity ScreepsAutocomplete/Global/Constants.js /^ capacity: 4$/;" p property:BOOSTS.carry.XKH2O +carry ScreepsAutocomplete/Creep.js /^ carry: {},$/;" p class:Creep +carry ScreepsAutocomplete/Global/Constants.js /^ carry: 50,$/;" p variable:BODYPART_COST +carry ScreepsAutocomplete/Global/Constants.js /^ carry: {$/;" p variable:BOOSTS +carry ScreepsAutocomplete/PowerCreep.js /^ carry: {},$/;" p class:PowerCreep +carryCapacity ScreepsAutocomplete/Creep.js /^ carryCapacity: 0,$/;" p class:Creep +carryCapacity ScreepsAutocomplete/PowerCreep.js /^ carryCapacity: 0,$/;" p class:PowerCreep +changeOrderPrice ScreepsAutocomplete/Game.js /^ changeOrderPrice: function (orderId, newPrice) { },$/;" m property:Game.market +circle ScreepsAutocomplete/Game.js /^ circle: function(pos, style) { },$/;" m class:MapVisual +circle ScreepsAutocomplete/RoomVisual.js /^ circle: function(x, y, style) { },$/;" m class:RoomVisual +claim ScreepsAutocomplete/Global/Constants.js /^ claim: 600$/;" p variable:BODYPART_COST +claimController ScreepsAutocomplete/Creep.js /^ claimController: function(target) { },$/;" m class:Creep +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SOURCE] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SPAWN] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TERMINAL] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_FORTIFY] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_GENERATE_OPS] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_EXTENSION] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_FACTORY] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_OBSERVER] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +className ScreepsAutocomplete/Global/Constants.js /^ className: exports.POWER_CLASS.OPERATOR,$/;" p property:POWER_INFO.[exports.PWR_SHIELD] +className ScreepsAutocomplete/PowerCreep.js /^ className: "",$/;" p class:PowerCreep +clear ScreepsAutocomplete/Game.js /^ clear: function() { },$/;" m class:MapVisual +clear ScreepsAutocomplete/RoomVisual.js /^ clear: function() { },$/;" m class:RoomVisual +clone ScreepsAutocomplete/PathFinder.js /^ clone: function() { },$/;" m class:PathFinder.CostMatrix +color ScreepsAutocomplete/Flag.js /^ color: 0,$/;" p class:Flag +constructedWall ScreepsAutocomplete/Global/Constants.js /^ constructedWall: 1,$/;" p variable:CONSTRUCTION_COST +constructedWall ScreepsAutocomplete/Global/Constants.js /^ constructedWall: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p variable:CONTROLLER_STRUCTURES +constructionSites ScreepsAutocomplete/Game.js /^ constructionSites: {},$/;" p variable:Game +container ScreepsAutocomplete/Global/Constants.js /^ container: 5000,$/;" p variable:CONSTRUCTION_COST +controller ScreepsAutocomplete/Room.js /^ controller: null,$/;" p class:Room +cooldown ScreepsAutocomplete/Deposit.js /^ cooldown: 0,$/;" p class:Deposit +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 0,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 10,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 100,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SOURCE] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 100,$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 100,$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_FACTORY] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 20,$/;" p property:POWER_INFO.[exports.PWR_SHIELD] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 300,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 400,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_OBSERVER] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 5,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SPAWN] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 5,$/;" p property:POWER_INFO.[exports.PWR_FORTIFY] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 50,$/;" p property:POWER_INFO.[exports.PWR_GENERATE_OPS] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 50,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_EXTENSION] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 50,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 500,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 8,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TERMINAL] +cooldown ScreepsAutocomplete/Global/Constants.js /^ cooldown: 800,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +cooldown ScreepsAutocomplete/Structures/StructureExtractor.js /^ cooldown: 0$/;" p class:StructureExtractor +cooldown ScreepsAutocomplete/Structures/StructureFactory.js /^ cooldown: 0,$/;" p class:StructureFactory +cooldown ScreepsAutocomplete/Structures/StructureLab.js /^ cooldown: 0,$/;" p class:StructureLab +cooldown ScreepsAutocomplete/Structures/StructureLink.js /^ cooldown: 0,$/;" p class:StructureLink +cooldown ScreepsAutocomplete/Structures/StructureNuker.js /^ cooldown: 0,$/;" p class:StructureNuker +cooldown ScreepsAutocomplete/Structures/StructureTerminal.js /^ cooldown: 0,$/;" p class:StructureTerminal +cpu ScreepsAutocomplete/Game.js /^ cpu: {$/;" p variable:Game +create ScreepsAutocomplete/PowerCreep.js /^ create: function(name, className) { },$/;" m class:PowerCreep +createConstructionSite ScreepsAutocomplete/Room.js /^ createConstructionSite: function(x, y, structureType, name) { },$/;" m class:Room +createConstructionSite ScreepsAutocomplete/RoomPosition.js /^ createConstructionSite: function(structureType, name) { },$/;" m class:RoomPosition +createCreep ScreepsAutocomplete/Structures/StructureSpawn.js /^ createCreep: function(body, name, memory) { },$/;" m class:StructureSpawn +createFlag ScreepsAutocomplete/Room.js /^ createFlag: function(x, y, name, color, secondaryColor) { },$/;" m class:Room +createFlag ScreepsAutocomplete/RoomPosition.js /^ createFlag: function(name, color, secondaryColor) { },$/;" m class:RoomPosition +createOrder ScreepsAutocomplete/Game.js /^ createOrder: function (params) { },$/;" m property:Game.market +created ScreepsAutocomplete/Order.js /^ created: 0,$/;" p variable:Order +createdTimestamp ScreepsAutocomplete/Order.js /^ createdTimestamp: 0,$/;" p variable:Order +credits ScreepsAutocomplete/Game.js /^ credits: 0,$/;" p property:Game.market +creep ScreepsAutocomplete/Tombstone.js /^ creep: { },$/;" p class:Tombstone +creepCounts main.js /^var creepCounts = {"harvester" : 3, "builder" : 1, "upgrader" : 2, "repairer" : 1};$/;" v +creeps ScreepsAutocomplete/Game.js /^ creeps: {},$/;" p variable:Game +damage ScreepsAutocomplete/Global/Constants.js /^ damage: .3$/;" p property:BOOSTS.tough.XGHO2 +damage ScreepsAutocomplete/Global/Constants.js /^ damage: .5$/;" p property:BOOSTS.tough.GHO2 +damage ScreepsAutocomplete/Global/Constants.js /^ damage: .7$/;" p property:BOOSTS.tough.GO +datetime ScreepsAutocomplete/Structures/StructureController.js /^ datetime: ""$/;" p property:StructureController.sign +deal ScreepsAutocomplete/Game.js /^ deal: function (orderId, amount, yourRoomName) { },$/;" m property:Game.market +deathTime ScreepsAutocomplete/Tombstone.js /^ deathTime: 0,$/;" p class:Tombstone +delete ScreepsAutocomplete/PowerCreep.js /^ delete: function([cancel]) { },$/;" m class:PowerCreep +deleteTime ScreepsAutocomplete/PowerCreep.js /^ deleteTime: 0,$/;" p class:PowerCreep +density ScreepsAutocomplete/Mineral.js /^ density: 0,$/;" p class:Mineral +dependencies ScreepsAutocomplete/package.json /^ "dependencies": {$/;" o +depositEnergy utils.energy.js /^ depositEnergy : function(creep) {$/;" m variable:energyUtils +depositType ScreepsAutocomplete/Deposit.js /^ depositType: "",$/;" p class:Deposit +describeExits ScreepsAutocomplete/Game.js /^ describeExits: function (roomName) {},$/;" m property:Game.map +description ScreepsAutocomplete/package.json /^ "description": "IDE Autocomplete for Screeps",$/;" s +deserialize ScreepsAutocomplete/PathFinder.js /^PathFinder.CostMatrix.deserialize = function(val) { };$/;" f class:PathFinder.CostMatrix +deserializePath ScreepsAutocomplete/Room.js /^ deserializePath: function(path) { }$/;" m variable:Room +destination ScreepsAutocomplete/Structures/StructurePortal.js /^ destination: null,$/;" p class:StructurePortal +destroy ScreepsAutocomplete/Structure.js /^ destroy: function() { },$/;" m class:Structure +destroyTime ScreepsAutocomplete/Ruin.js /^ destroyTime: 0,$/;" p class:Ruin +devDependencies ScreepsAutocomplete/package.json /^ "devDependencies": {},$/;" o +directions ScreepsAutocomplete/Structures/StructureSpawn.js /^ directions: [],$/;" p class:StructureSpawn.Spawning +dismantle ScreepsAutocomplete/Creep.js /^ dismantle: function(target) { },$/;" m class:Creep +dismantle ScreepsAutocomplete/Global/Constants.js /^ dismantle: 2$/;" p property:BOOSTS.work.ZH +dismantle ScreepsAutocomplete/Global/Constants.js /^ dismantle: 3$/;" p property:BOOSTS.work.ZH2O +dismantle ScreepsAutocomplete/Global/Constants.js /^ dismantle: 4$/;" p property:BOOSTS.work.XZH2O +drop ScreepsAutocomplete/Creep.js /^ drop: function(resourceType, amount) { },$/;" m class:Creep +drop ScreepsAutocomplete/PowerCreep.js /^ drop: function(resourceType, amount) { },$/;" m class:PowerCreep +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 10,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TERMINAL] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 100,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 100,$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 1000,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 300,$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 5,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 50,$/;" p property:POWER_INFO.[exports.PWR_SHIELD] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 800,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 800,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_FACTORY] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: 800,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: [1, 2, 3, 4, 5]$/;" p property:POWER_INFO.[exports.PWR_FORTIFY] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: [1,2,3,4,5]$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SPAWN] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: [100, 200, 300, 400, 500]$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SOURCE] +duration ScreepsAutocomplete/Global/Constants.js /^ duration: [200,400,600,800,1000],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_OBSERVER] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [0.2, 0.4, 0.6, 0.8, 1.0]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_EXTENSION] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [0.9, 0.7, 0.5, 0.35, 0.2]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [0.9, 0.8, 0.7, 0.6, 0.5]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [0.9, 0.8, 0.7, 0.6, 0.5],$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [1, 2, 3, 4, 5]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [1, 2, 4, 6, 8]$/;" p property:POWER_INFO.[exports.PWR_GENERATE_OPS] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [1.1, 1.2, 1.3, 1.4, 1.5]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [10, 20, 30, 40, 50]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [2,4,6,8,10]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [2,4,6,8,10],$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [50,100,150,200,250],$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [5000, 10000, 15000, 20000, 25000],$/;" p property:POWER_INFO.[exports.PWR_SHIELD] +effect ScreepsAutocomplete/Global/Constants.js /^ effect: [500000,1000000,2000000,4000000,7000000]$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +effects ScreepsAutocomplete/RoomObject.js /^ effects: null,$/;" p class:RoomObject +enableRoom ScreepsAutocomplete/PowerCreep.js /^ enableRoom: function(controller) { },$/;" m class:PowerCreep +energy ScreepsAutocomplete/Global/Constants.js /^ energy: 100,$/;" p property:POWER_INFO.[exports.PWR_SHIELD] +energy ScreepsAutocomplete/Source.js /^ energy: 0,$/;" p class:Source +energy ScreepsAutocomplete/Structures/StructureExtension.js /^ energy: 0,$/;" p class:StructureExtension +energy ScreepsAutocomplete/Structures/StructureLab.js /^ energy: 0,$/;" p class:StructureLab +energy ScreepsAutocomplete/Structures/StructureLink.js /^ energy: 0,$/;" p class:StructureLink +energy ScreepsAutocomplete/Structures/StructureNuker.js /^ energy: 0,$/;" p class:StructureNuker +energy ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^ energy: 0,$/;" p class:StructurePowerSpawn +energy ScreepsAutocomplete/Structures/StructureSpawn.js /^ energy: 0,$/;" p class:StructureSpawn +energy ScreepsAutocomplete/Structures/StructureTower.js /^ energy: 0,$/;" p class:StructureTower +energyAvailable ScreepsAutocomplete/Room.js /^ energyAvailable: 0,$/;" p class:Room +energyCapacity ScreepsAutocomplete/Source.js /^ energyCapacity: 0,$/;" p class:Source +energyCapacity ScreepsAutocomplete/Structures/StructureExtension.js /^ energyCapacity: 0,$/;" p class:StructureExtension +energyCapacity ScreepsAutocomplete/Structures/StructureLab.js /^ energyCapacity: 0,$/;" p class:StructureLab +energyCapacity ScreepsAutocomplete/Structures/StructureLink.js /^ energyCapacity: 0,$/;" p class:StructureLink +energyCapacity ScreepsAutocomplete/Structures/StructureNuker.js /^ energyCapacity: 0,$/;" p class:StructureNuker +energyCapacity ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^ energyCapacity: 0,$/;" p class:StructurePowerSpawn +energyCapacity ScreepsAutocomplete/Structures/StructureSpawn.js /^ energyCapacity: 0,$/;" p class:StructureSpawn +energyCapacity ScreepsAutocomplete/Structures/StructureTower.js /^ energyCapacity: 0,$/;" p class:StructureTower +energyCapacityAvailable ScreepsAutocomplete/Room.js /^ energyCapacityAvailable: 0,$/;" p class:Room +energyUtils role.builder.js /^var energyUtils = require('utils.energy');$/;" v +energyUtils role.guard.js /^var energyUtils = require('utils.energy');$/;" v +energyUtils role.harvester.js /^var energyUtils = require('utils.energy');$/;" v +energyUtils role.repairer.js /^var energyUtils = require('utils.energy');$/;" v +energyUtils utils.energy.js /^var energyUtils = {$/;" v +extendOrder ScreepsAutocomplete/Game.js /^ extendOrder: function (orderId, addAmount) { },$/;" m property:Game.market +extension ScreepsAutocomplete/Global/Constants.js /^ extension: 3000,$/;" p variable:CONSTRUCTION_COST +extension ScreepsAutocomplete/Global/Constants.js /^ extension: { 0: 0, 1: 0, 2: 5, 3: 10, 4: 20, 5: 30, 6: 40, 7: 50, 8: 60 },$/;" p variable:CONTROLLER_STRUCTURES +extractor ScreepsAutocomplete/Global/Constants.js /^ extractor: 5000,$/;" p variable:CONSTRUCTION_COST +fatigue ScreepsAutocomplete/Creep.js /^ fatigue: 0,$/;" p class:Creep +fatigue ScreepsAutocomplete/Global/Constants.js /^ fatigue: 2$/;" p property:BOOSTS.move.ZO +fatigue ScreepsAutocomplete/Global/Constants.js /^ fatigue: 3$/;" p property:BOOSTS.move.ZHO2 +fatigue ScreepsAutocomplete/Global/Constants.js /^ fatigue: 4$/;" p property:BOOSTS.move.XZHO2 +filter role.repairer.js /^ filter: (structure) => {$/;" m variable:roleRepairer.run.anonymousObject2f89e08a0105 +filter utils.energy.js /^ filter: (structure) => {$/;" m variable:energyUtils.depositEnergy.anonymousObjectd2a968f90405 +filter utils.energy.js /^ filter: (structure) => {$/;" m variable:energyUtils.depositEnergy.anonymousObjectd2a968f90305 +filter utils.energy.js /^ filter: (structure) => {$/;" m variable:energyUtils.gatherEnergy.anonymousObjectd2a968f90105 +find ScreepsAutocomplete/Room.js /^ find: function(type, opts) { },$/;" m class:Room +findClosestByPath ScreepsAutocomplete/RoomPosition.js /^ findClosestByPath: function(type, opts) { },$/;" m class:RoomPosition +findClosestByRange ScreepsAutocomplete/RoomPosition.js /^ findClosestByRange: function(type, opts) { },$/;" m class:RoomPosition +findExit ScreepsAutocomplete/Game.js /^ findExit: function (fromRoom, toRoom, opts) {},$/;" m property:Game.map +findExitTo ScreepsAutocomplete/Room.js /^ findExitTo: function(room) { },$/;" m class:Room +findInRange ScreepsAutocomplete/RoomPosition.js /^ findInRange: function(type, range, opts) { },$/;" m class:RoomPosition +findPath ScreepsAutocomplete/Room.js /^ findPath: function(fromPos, toPos, opts) { },$/;" m class:Room +findPathTo ScreepsAutocomplete/RoomPosition.js /^ findPathTo: function(x, y, opts) { },$/;" m class:RoomPosition +findRoute ScreepsAutocomplete/Game.js /^ findRoute: function (fromRoom, toRoom, opts) {},$/;" m property:Game.map +flags ScreepsAutocomplete/Game.js /^ flags: {},$/;" p variable:Game +foreignSegment ScreepsAutocomplete/RawMemory.js /^ foreignSegment: {},$/;" p variable:RawMemory +gatherEnergy utils.energy.js /^ gatherEnergy : function(creep) {$/;" m variable:energyUtils +gcl ScreepsAutocomplete/Game.js /^ gcl: {$/;" p variable:Game +generatePixel ScreepsAutocomplete/Game.js /^ generatePixel: function() {}$/;" m property:Game.cpu +generateSafeMode ScreepsAutocomplete/Creep.js /^ generateSafeMode: function(target) { },$/;" m class:Creep +get ScreepsAutocomplete/PathFinder.js /^ get: function(x, y) { },$/;" m class:PathFinder.CostMatrix +get ScreepsAutocomplete/RawMemory.js /^ get: function() { },$/;" m variable:RawMemory +get ScreepsAutocomplete/Room.js /^ get: function(x, y) {},$/;" m class:Room.Terrain +getActiveBodyparts ScreepsAutocomplete/Creep.js /^ getActiveBodyparts: function(type) { },$/;" m class:Creep +getAllOrders ScreepsAutocomplete/Game.js /^ getAllOrders: function (filter) { },$/;" m property:Game.market +getCapacity ScreepsAutocomplete/Store.js /^ getCapacity: function(resource) { },$/;" m class:Store +getDirectionTo ScreepsAutocomplete/RoomPosition.js /^ getDirectionTo: function(x, y) { },$/;" m class:RoomPosition +getEventLog ScreepsAutocomplete/Room.js /^ getEventLog: function(raw) { },$/;" m class:Room +getFreeCapacity ScreepsAutocomplete/Store.js /^ getFreeCapacity: function(resource) { },$/;" m class:Store +getHeapStatistics ScreepsAutocomplete/Game.js /^ getHeapStatistics: function() {},$/;" m property:Game.cpu +getHistory ScreepsAutocomplete/Game.js /^ getHistory: function (resourceType) { },$/;" m property:Game.market +getLocal ScreepsAutocomplete/InterShardMemory.js /^ getLocal: function() { },$/;" m class:InterShardMemory +getObjectById ScreepsAutocomplete/Game.js /^ getObjectById: function (id) { },$/;" m variable:Game +getOrderById ScreepsAutocomplete/Game.js /^ getOrderById: function (id) { }$/;" m property:Game.market +getPositionAt ScreepsAutocomplete/Room.js /^ getPositionAt: function(x, y) { },$/;" m class:Room +getRangeTo ScreepsAutocomplete/RoomPosition.js /^ getRangeTo: function(x, y) { },$/;" m class:RoomPosition +getRawBuffer ScreepsAutocomplete/Room.js /^ getRawBuffer: function(destinationArray) {}$/;" m class:Room.Terrain +getRemote ScreepsAutocomplete/InterShardMemory.js /^ getRemote: function(shard) { }$/;" m class:InterShardMemory +getRoomLinearDistance ScreepsAutocomplete/Game.js /^ getRoomLinearDistance: function (roomName1, roomName2, continuous) {},$/;" m property:Game.map +getRoomStatus ScreepsAutocomplete/Game.js /^ getRoomStatus: function (roomName) {},$/;" m property:Game.map +getRoomTerrain ScreepsAutocomplete/Game.js /^ getRoomTerrain: function(roomName) {},$/;" m property:Game.map +getSize ScreepsAutocomplete/Game.js /^ getSize: function() { },$/;" m class:MapVisual +getSize ScreepsAutocomplete/RoomVisual.js /^ getSize: function() { },$/;" m class:RoomVisual +getTerrain ScreepsAutocomplete/Room.js /^ getTerrain: function() {},$/;" m class:Room +getTerrainAt ScreepsAutocomplete/Game.js /^ getTerrainAt: function (x, y, roomName) {},$/;" m property:Game.map +getUsed ScreepsAutocomplete/Game.js /^ getUsed: function () {},$/;" m property:Game.cpu +getUsedCapacity ScreepsAutocomplete/Store.js /^ getUsedCapacity: function(resource) { }$/;" m class:Store +getWorldSize ScreepsAutocomplete/Game.js /^ getWorldSize: function () {},$/;" m property:Game.map +ghodium ScreepsAutocomplete/Structures/StructureNuker.js /^ ghodium: 0,$/;" p class:StructureNuker +ghodiumCapacity ScreepsAutocomplete/Structures/StructureNuker.js /^ ghodiumCapacity: 0,$/;" p class:StructureNuker +gpl ScreepsAutocomplete/Game.js /^ gpl: {$/;" p variable:Game +halt ScreepsAutocomplete/Game.js /^ halt: function() {},$/;" m property:Game.cpu +harvest ScreepsAutocomplete/Creep.js /^ harvest: function(target) { },$/;" m class:Creep +harvest ScreepsAutocomplete/Global/Constants.js /^ harvest: 2$/;" p property:BOOSTS.work.UO +harvest ScreepsAutocomplete/Global/Constants.js /^ harvest: 3$/;" p property:BOOSTS.work.UHO2 +harvest ScreepsAutocomplete/Global/Constants.js /^ harvest: 4$/;" p property:BOOSTS.work.XUHO2 +harvester main.js /^var creepCounts = {"harvester" : 3, "builder" : 1, "upgrader" : 2, "repairer" : 1};$/;" p variable:creepCounts +harvester role.dispatcher.js /^ harvester: roleHarvester,$/;" p variable:roleMap +heal ScreepsAutocomplete/Creep.js /^ heal: function(target) { },$/;" m class:Creep +heal ScreepsAutocomplete/Global/Constants.js /^ heal: 2,$/;" p property:BOOSTS.heal.LO +heal ScreepsAutocomplete/Global/Constants.js /^ heal: 3,$/;" p property:BOOSTS.heal.LHO2 +heal ScreepsAutocomplete/Global/Constants.js /^ heal: 4,$/;" p property:BOOSTS.heal.XLHO2 +heal ScreepsAutocomplete/Global/Constants.js /^ heal: 250,$/;" p variable:BODYPART_COST +heal ScreepsAutocomplete/Global/Constants.js /^ heal: {$/;" p variable:BOOSTS +heal ScreepsAutocomplete/Structures/StructureTower.js /^ heal: function(target) { },$/;" m class:StructureTower +hits ScreepsAutocomplete/Creep.js /^ hits: 0,$/;" p class:Creep +hits ScreepsAutocomplete/PowerCreep.js /^ hits: 0,$/;" p class:PowerCreep +hits ScreepsAutocomplete/Structure.js /^ hits: 0,$/;" p class:Structure +hitsMax ScreepsAutocomplete/Creep.js /^ hitsMax: 0,$/;" p class:Creep +hitsMax ScreepsAutocomplete/PowerCreep.js /^ hitsMax: 0,$/;" p class:PowerCreep +hitsMax ScreepsAutocomplete/Structure.js /^ hitsMax: 0,$/;" p class:Structure +homepage ScreepsAutocomplete/package.json /^ "homepage": "https:\/\/github.com\/Garethp\/ScreepsAutocomplete#readme"$/;" s +id ScreepsAutocomplete/ConstructionSite.js /^ id: "",$/;" p class:ConstructionSite +id ScreepsAutocomplete/Creep.js /^ id: "",$/;" p class:Creep +id ScreepsAutocomplete/Deposit.js /^ id: "",$/;" p class:Deposit +id ScreepsAutocomplete/Mineral.js /^ id: "",$/;" p class:Mineral +id ScreepsAutocomplete/Nuke.js /^ id: "",$/;" p class:Nuke +id ScreepsAutocomplete/Order.js /^ id: "",$/;" p variable:Order +id ScreepsAutocomplete/PowerCreep.js /^ id: "",$/;" p class:PowerCreep +id ScreepsAutocomplete/Resource.js /^ id: "",$/;" p class:Resource +id ScreepsAutocomplete/Ruin.js /^ id: "",$/;" p class:Ruin +id ScreepsAutocomplete/Source.js /^ id: "",$/;" p class:Source +id ScreepsAutocomplete/Structure.js /^ id: "",$/;" p class:Structure +id ScreepsAutocomplete/Tombstone.js /^ id: "",$/;" p class:Tombstone +inRangeTo ScreepsAutocomplete/RoomPosition.js /^ inRangeTo: function(x, y, range) { },$/;" m class:RoomPosition +incomingTransactions ScreepsAutocomplete/Game.js /^ incomingTransactions: [],$/;" p property:Game.market +interShardSegment ScreepsAutocomplete/RawMemory.js /^ interShardSegment: "",$/;" p variable:RawMemory +isActive ScreepsAutocomplete/Structure.js /^ isActive: function() { },$/;" m class:Structure +isEqualTo ScreepsAutocomplete/RoomPosition.js /^ isEqualTo: function(x, y) { },$/;" m class:RoomPosition +isNearTo ScreepsAutocomplete/RoomPosition.js /^ isNearTo: function(x, y) { },$/;" m class:RoomPosition +isPowerEnabled ScreepsAutocomplete/Structures/StructureController.js /^ isPowerEnabled: false,$/;" p class:StructureController +isPublic ScreepsAutocomplete/Structures/StructureRampart.js /^ isPublic: false,$/;" p class:StructureRampart +isRoomAvailable ScreepsAutocomplete/Game.js /^ isRoomAvailable: function (roomName) {},$/;" m property:Game.map +keywords ScreepsAutocomplete/package.json /^ "keywords": [$/;" a +lab ScreepsAutocomplete/Global/Constants.js /^ lab: 50000,$/;" p variable:CONSTRUCTION_COST +lastCooldown ScreepsAutocomplete/Deposit.js /^ lastCooldown: 0,$/;" p class:Deposit +launchNuke ScreepsAutocomplete/Structures/StructureNuker.js /^ launchNuke: function(pos) { }$/;" m class:StructureNuker +launchRoomName ScreepsAutocomplete/Nuke.js /^ launchRoomName: "",$/;" p class:Nuke +level ScreepsAutocomplete/Game.js /^ level: 0,$/;" p property:Game.gcl +level ScreepsAutocomplete/Game.js /^ level: 0,$/;" p property:Game.gpl +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SOURCE] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SPAWN] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_FORTIFY] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_GENERATE_OPS] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_EXTENSION] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_FACTORY] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_OBSERVER] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +level ScreepsAutocomplete/Global/Constants.js /^ level: [0, 2, 7, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_SHIELD] +level ScreepsAutocomplete/Global/Constants.js /^ level: [10, 11, 12, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +level ScreepsAutocomplete/Global/Constants.js /^ level: [10, 11, 12, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +level ScreepsAutocomplete/Global/Constants.js /^ level: [10, 11, 12, 14, 22],$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +level ScreepsAutocomplete/Global/Constants.js /^ level: [20, 21, 22, 23, 24],$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TERMINAL] +level ScreepsAutocomplete/Global/Constants.js /^ level: [20, 21, 22, 23, 24],$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +level ScreepsAutocomplete/PowerCreep.js /^ level: 0,$/;" p class:PowerCreep +level ScreepsAutocomplete/Structures/StructureController.js /^ level: 0,$/;" p class:StructureController +level ScreepsAutocomplete/Structures/StructureFactory.js /^ level: 0,$/;" p class:StructureFactory +level ScreepsAutocomplete/Structures/StructureInvaderCore.js /^ level: 0,$/;" p class:StructureInvaderCore +license ScreepsAutocomplete/package.json /^ "license": "MIT",$/;" s +limit ScreepsAutocomplete/Game.js /^ limit: 0,$/;" p property:Game.cpu +line ScreepsAutocomplete/Game.js /^ line: function(pos1, pos2, style) { },$/;" m class:MapVisual +line ScreepsAutocomplete/RoomVisual.js /^ line: function(x1, y1, x2, y2, style) { },$/;" m class:RoomVisual +link ScreepsAutocomplete/Global/Constants.js /^ link: 5000,$/;" p variable:CONSTRUCTION_COST +link ScreepsAutocomplete/Global/Constants.js /^ link: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 2, 6: 3, 7: 4, 8: 6 },$/;" p variable:CONTROLLER_STRUCTURES +look ScreepsAutocomplete/RoomPosition.js /^ look: function() { },$/;" m class:RoomPosition +lookAt ScreepsAutocomplete/Room.js /^ lookAt: function(x, y) { },$/;" m class:Room +lookAtArea ScreepsAutocomplete/Room.js /^ lookAtArea: function(top, left, bottom, right, asArray) { },$/;" m class:Room +lookFor ScreepsAutocomplete/RoomPosition.js /^ lookFor: function(type) { }$/;" m class:RoomPosition +lookForAt ScreepsAutocomplete/Room.js /^ lookForAt: function(type, x, y) { },$/;" m class:Room +lookForAtArea ScreepsAutocomplete/Room.js /^ lookForAtArea: function(type, top, left, bottom, right, asArray) { }$/;" m class:Room +loop main.js /^module.exports.loop = function () {$/;" f variable:module.exports +map ScreepsAutocomplete/Game.js /^ map: {$/;" p variable:Game +market ScreepsAutocomplete/Game.js /^ market: {$/;" p variable:Game +memory ScreepsAutocomplete/Creep.js /^ memory: {},$/;" p class:Creep +memory ScreepsAutocomplete/Flag.js /^ memory: {},$/;" p class:Flag +memory ScreepsAutocomplete/PowerCreep.js /^ memory: {},$/;" p class:PowerCreep +memory ScreepsAutocomplete/Room.js /^ memory: {},$/;" p class:Room +memory ScreepsAutocomplete/Structures/StructureSpawn.js /^ memory: {},$/;" p class:StructureSpawn +memory main.js /^ {memory: {role: role}});$/;" p variable:anonymousObjectb43910f50205 +mineralAmount ScreepsAutocomplete/Mineral.js /^ mineralAmount: 0,$/;" p class:Mineral +mineralAmount ScreepsAutocomplete/Structures/StructureLab.js /^ mineralAmount: 0,$/;" p class:StructureLab +mineralCapacity ScreepsAutocomplete/Structures/StructureLab.js /^ mineralCapacity: 0,$/;" p class:StructureLab +mineralType ScreepsAutocomplete/Mineral.js /^ mineralType: "",$/;" p class:Mineral +mineralType ScreepsAutocomplete/Structures/StructureLab.js /^ mineralType: "",$/;" p class:StructureLab +move ScreepsAutocomplete/Creep.js /^ move: function(direction) { },$/;" m class:Creep +move ScreepsAutocomplete/Global/Constants.js /^ move: 50,$/;" p variable:BODYPART_COST +move ScreepsAutocomplete/Global/Constants.js /^ move: {$/;" p variable:BOOSTS +move ScreepsAutocomplete/PowerCreep.js /^ move: function(direction) { },$/;" m class:PowerCreep +moveByPath ScreepsAutocomplete/Creep.js /^ moveByPath: function(path) { },$/;" m class:Creep +moveByPath ScreepsAutocomplete/PowerCreep.js /^ moveByPath: function(path) { },$/;" m class:PowerCreep +moveTo ScreepsAutocomplete/Creep.js /^ moveTo: function(x, y, opts) { },$/;" m class:Creep +moveTo ScreepsAutocomplete/PowerCreep.js /^ moveTo: function(x, y, opts) { },$/;" m class:PowerCreep +my ScreepsAutocomplete/ConstructionSite.js /^ my: true,$/;" p class:ConstructionSite +my ScreepsAutocomplete/Creep.js /^ my: true,$/;" p class:Creep +my ScreepsAutocomplete/OwnedStructure.js /^ my: true,$/;" p class:OwnedStructure +my ScreepsAutocomplete/PowerCreep.js /^ my: true,$/;" p class:PowerCreep +name ScreepsAutocomplete/Creep.js /^ name: "",$/;" p class:Creep +name ScreepsAutocomplete/Flag.js /^ name: "",$/;" p class:Flag +name ScreepsAutocomplete/PowerCreep.js /^ name: "",$/;" p class:PowerCreep +name ScreepsAutocomplete/Room.js /^ name: "",$/;" p class:Room +name ScreepsAutocomplete/Structures/StructureSpawn.js /^ name: "",$/;" p class:StructureSpawn +name ScreepsAutocomplete/Structures/StructureSpawn.js /^ name: "",$/;" p class:StructureSpawn.Spawning +name ScreepsAutocomplete/package.json /^ "name": "ScreepsAutocomplete",$/;" s +needTime ScreepsAutocomplete/Structures/StructureSpawn.js /^ needTime: 0,$/;" p class:StructureSpawn.Spawning +notify ScreepsAutocomplete/Game.js /^ notify: function (message, groupInterval) { }$/;" m variable:Game +notifyWhenAttacked ScreepsAutocomplete/Creep.js /^ notifyWhenAttacked: function(enabled) { },$/;" m class:Creep +notifyWhenAttacked ScreepsAutocomplete/PowerCreep.js /^ notifyWhenAttacked: function(enabled) { },$/;" m class:PowerCreep +notifyWhenAttacked ScreepsAutocomplete/Structure.js /^ notifyWhenAttacked: function(enabled) { }$/;" m class:Structure +nuker ScreepsAutocomplete/Global/Constants.js /^ nuker: 100000$/;" p variable:CONSTRUCTION_COST +observeRoom ScreepsAutocomplete/Structures/StructureObserver.js /^ observeRoom: function(roomName) { }$/;" m class:StructureObserver +observer ScreepsAutocomplete/Global/Constants.js /^ observer: 8000,$/;" p variable:CONSTRUCTION_COST +observer ScreepsAutocomplete/Global/Constants.js /^ observer: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 },$/;" p variable:CONTROLLER_STRUCTURES +opacity main.js /^ {align: 'left', opacity: 0.8});$/;" p variable:anonymousObjectb43910f50305 +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 10,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SPAWN] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 10,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 10,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 10,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_OBSERVER] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 10,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 100$/;" p property:POWER_INFO.[exports.PWR_OPERATE_FACTORY] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 100,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SOURCE] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 100,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 100,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 100,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 2,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_EXTENSION] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 200,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 200,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: 5,$/;" p property:POWER_INFO.[exports.PWR_FORTIFY] +ops ScreepsAutocomplete/Global/Constants.js /^ ops: [50,40,30,20,10]$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TERMINAL] +orders ScreepsAutocomplete/Game.js /^ orders: {},$/;" p property:Game.market +outgoingTransactions ScreepsAutocomplete/Game.js /^ outgoingTransactions: [],$/;" p property:Game.market +owner ScreepsAutocomplete/ConstructionSite.js /^ owner:$/;" p class:ConstructionSite +owner ScreepsAutocomplete/Creep.js /^ owner:$/;" p class:Creep +owner ScreepsAutocomplete/OwnedStructure.js /^ owner:$/;" p class:OwnedStructure +owner ScreepsAutocomplete/PowerCreep.js /^ owner:$/;" p class:PowerCreep +period ScreepsAutocomplete/Global/Constants.js /^ period: 10$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +period ScreepsAutocomplete/Global/Constants.js /^ period: 15$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +pickup ScreepsAutocomplete/Creep.js /^ pickup: function(target) { },$/;" m class:Creep +pickup ScreepsAutocomplete/PowerCreep.js /^ pickup: function(target) { },$/;" m class:PowerCreep +poly ScreepsAutocomplete/Game.js /^ poly: function(points, style) { },$/;" m class:MapVisual +poly ScreepsAutocomplete/RoomVisual.js /^ poly: function(points, style) { },$/;" m class:RoomVisual +pos ScreepsAutocomplete/RoomObject.js /^ pos: null,$/;" p class:RoomObject +power ScreepsAutocomplete/Structures/StructurePowerBank.js /^ power: 0,$/;" p class:StructurePowerBank +power ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^ power: 0,$/;" p class:StructurePowerSpawn +powerCapacity ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^ powerCapacity: 0,$/;" p class:StructurePowerSpawn +powerCreeps ScreepsAutocomplete/Game.js /^ powerCreeps: {},$/;" p variable:Game +powerSpawn ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: 100000,$/;" p variable:CONSTRUCTION_COST +powerSpawn ScreepsAutocomplete/Global/Constants.js /^ powerSpawn: { 1: 0, 2: 0, 3: 0, 4: 0, 5: 0, 6: 0, 7: 0, 8: 1 }$/;" p variable:CONTROLLER_STRUCTURES +powers ScreepsAutocomplete/PowerCreep.js /^ powers: {},$/;" p class:PowerCreep +price ScreepsAutocomplete/Order.js /^ price: 0$/;" p variable:Order +processPower ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^ processPower: function() { }$/;" m class:StructurePowerSpawn +produce ScreepsAutocomplete/Structures/StructureFactory.js /^ produce: function (resourceType) { }$/;" m class:StructureFactory +progress ScreepsAutocomplete/ConstructionSite.js /^ progress: 0,$/;" p class:ConstructionSite +progress ScreepsAutocomplete/Game.js /^ progress: 0,$/;" p property:Game.gcl +progress ScreepsAutocomplete/Game.js /^ progress: 0,$/;" p property:Game.gpl +progress ScreepsAutocomplete/Structures/StructureController.js /^ progress: 0,$/;" p class:StructureController +progressTotal ScreepsAutocomplete/ConstructionSite.js /^ progressTotal: 0,$/;" p class:ConstructionSite +progressTotal ScreepsAutocomplete/Game.js /^ progressTotal: 0$/;" p property:Game.gcl +progressTotal ScreepsAutocomplete/Game.js /^ progressTotal: 0$/;" p property:Game.gpl +progressTotal ScreepsAutocomplete/Structures/StructureController.js /^ progressTotal: 0,$/;" p class:StructureController +pull ScreepsAutocomplete/Creep.js /^ pull: function(target) { },$/;" m class:Creep +rampart ScreepsAutocomplete/Global/Constants.js /^ rampart: 1,$/;" p variable:CONSTRUCTION_COST +rampart ScreepsAutocomplete/Global/Constants.js /^ rampart: { 1: 0, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p variable:CONTROLLER_STRUCTURES +range ScreepsAutocomplete/Global/Constants.js /^ range: 20,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SPAWN] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_SOURCE] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TOWER] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_FORTIFY] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_CONTROLLER] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_EXTENSION] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_FACTORY] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_LAB] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_OBSERVER] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_POWER] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_SPAWN] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_STORAGE] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TERMINAL] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_OPERATE_TOWER] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_REGEN_MINERAL] +range ScreepsAutocomplete/Global/Constants.js /^ range: 3,$/;" p property:POWER_INFO.[exports.PWR_REGEN_SOURCE] +range ScreepsAutocomplete/Global/Constants.js /^ range: 50,$/;" p property:POWER_INFO.[exports.PWR_DISRUPT_TERMINAL] +rangedAttack ScreepsAutocomplete/Creep.js /^ rangedAttack: function(target) { },$/;" m class:Creep +rangedAttack ScreepsAutocomplete/Global/Constants.js /^ rangedAttack: 2,$/;" p property:BOOSTS.ranged_attack.KO +rangedAttack ScreepsAutocomplete/Global/Constants.js /^ rangedAttack: 3,$/;" p property:BOOSTS.ranged_attack.KHO2 +rangedAttack ScreepsAutocomplete/Global/Constants.js /^ rangedAttack: 4,$/;" p property:BOOSTS.ranged_attack.XKHO2 +rangedHeal ScreepsAutocomplete/Creep.js /^ rangedHeal: function(target) { },$/;" m class:Creep +rangedHeal ScreepsAutocomplete/Global/Constants.js /^ rangedHeal: 2$/;" p property:BOOSTS.heal.LO +rangedHeal ScreepsAutocomplete/Global/Constants.js /^ rangedHeal: 3$/;" p property:BOOSTS.heal.LHO2 +rangedHeal ScreepsAutocomplete/Global/Constants.js /^ rangedHeal: 4$/;" p property:BOOSTS.heal.XLHO2 +rangedMassAttack ScreepsAutocomplete/Creep.js /^ rangedMassAttack: function() { },$/;" m class:Creep +rangedMassAttack ScreepsAutocomplete/Global/Constants.js /^ rangedMassAttack: 2$/;" p property:BOOSTS.ranged_attack.KO +rangedMassAttack ScreepsAutocomplete/Global/Constants.js /^ rangedMassAttack: 3$/;" p property:BOOSTS.ranged_attack.KHO2 +rangedMassAttack ScreepsAutocomplete/Global/Constants.js /^ rangedMassAttack: 4$/;" p property:BOOSTS.ranged_attack.XKHO2 +ranged_attack ScreepsAutocomplete/Global/Constants.js /^ ranged_attack: 150,$/;" p variable:BODYPART_COST +ranged_attack ScreepsAutocomplete/Global/Constants.js /^ ranged_attack: {$/;" p variable:BOOSTS +rect ScreepsAutocomplete/Game.js /^ rect: function(topLeftPos, width, height, [style]) { },$/;" m class:MapVisual +rect ScreepsAutocomplete/RoomVisual.js /^ rect: function(x, y, width, height, style) { },$/;" m class:RoomVisual +recycleCreep ScreepsAutocomplete/Structures/StructureSpawn.js /^ recycleCreep: function(target) { },$/;" m class:StructureSpawn +remainingAmount ScreepsAutocomplete/Order.js /^ remainingAmount: 0,$/;" p variable:Order +remainingTime ScreepsAutocomplete/Structures/StructureSpawn.js /^ remainingTime: 0,$/;" p class:StructureSpawn.Spawning +remove ScreepsAutocomplete/ConstructionSite.js /^ remove: function() { }$/;" m class:ConstructionSite +remove ScreepsAutocomplete/Flag.js /^ remove: function() { },$/;" m class:Flag +rename ScreepsAutocomplete/PowerCreep.js /^ rename: function(name) { },$/;" m class:PowerCreep +renew ScreepsAutocomplete/PowerCreep.js /^ renew: function(target) { },$/;" m class:PowerCreep +renewCreep ScreepsAutocomplete/Structures/StructureSpawn.js /^ renewCreep: function(target) { }$/;" m class:StructureSpawn +repair ScreepsAutocomplete/Creep.js /^ repair: function(target) { },$/;" m class:Creep +repair ScreepsAutocomplete/Global/Constants.js /^ repair: 1.3$/;" p property:BOOSTS.work.LH +repair ScreepsAutocomplete/Global/Constants.js /^ repair: 1.65$/;" p property:BOOSTS.work.LH2O +repair ScreepsAutocomplete/Global/Constants.js /^ repair: 2$/;" p property:BOOSTS.work.XLH2O +repair ScreepsAutocomplete/Structures/StructureTower.js /^ repair: function(target) { }$/;" m class:StructureTower +repairer main.js /^var creepCounts = {"harvester" : 3, "builder" : 1, "upgrader" : 2, "repairer" : 1};$/;" p variable:creepCounts +repairer role.dispatcher.js /^ repairer: roleRepairer$/;" p variable:roleMap +repository ScreepsAutocomplete/package.json /^ "repository": {$/;" o +reservation ScreepsAutocomplete/Structures/StructureController.js /^ reservation: {$/;" p class:StructureController +reserveController ScreepsAutocomplete/Creep.js /^ reserveController: function(target) { },$/;" m class:Creep +resourceType ScreepsAutocomplete/Order.js /^ resourceType: "",$/;" p variable:Order +resourceType ScreepsAutocomplete/Resource.js /^ resourceType: ""$/;" p class:Resource +resources ScreepsAutocomplete/Game.js /^ resources: {},$/;" p variable:Game +reverseReaction ScreepsAutocomplete/Structures/StructureLab.js /^ reverseReaction: function(lab1, lab2) { },$/;" m class:StructureLab +road ScreepsAutocomplete/Global/Constants.js /^ road: 300,$/;" p variable:CONSTRUCTION_COST +road ScreepsAutocomplete/Global/Constants.js /^ road: { 0: 2500, 1: 2500, 2: 2500, 3: 2500, 4: 2500, 5: 2500, 6: 2500, 7: 2500, 8: 2500 },$/;" p variable:CONTROLLER_STRUCTURES +role main.js /^ {memory: {role: role}});$/;" p property:anonymousObjectb43910f50205.memory +roleBuilder role.builder.js /^var roleBuilder = {$/;" v +roleBuilder role.dispatcher.js /^var roleBuilder = require('role.builder');$/;" v +roleDispatcher main.js /^var roleDispatcher = require('role.dispatcher');$/;" v +roleHarvester role.dispatcher.js /^var roleHarvester = require('role.harvester');$/;" v +roleHarvester role.guard.js /^var roleHarvester = {$/;" v +roleHarvester role.harvester.js /^var roleHarvester = {$/;" v +roleMap role.dispatcher.js /^const roleMap = {$/;" v +roleRepairer role.dispatcher.js /^var roleRepairer = require('role.repairer');$/;" v +roleRepairer role.repairer.js /^var roleRepairer = {$/;" v +roleUpgrader role.dispatcher.js /^var roleUpgrader = require('role.upgrader');$/;" v +roleUpgrader role.upgrader.js /^var roleUpgrader = {$/;" v +room ScreepsAutocomplete/RoomObject.js /^ room: null$/;" p class:RoomObject +roomName ScreepsAutocomplete/Order.js /^ roomName: "",$/;" p variable:Order +roomName ScreepsAutocomplete/RoomPosition.js /^ roomName: "",$/;" p class:RoomPosition +roomName ScreepsAutocomplete/RoomVisual.js /^ roomName: "",$/;" p class:RoomVisual +rooms ScreepsAutocomplete/Game.js /^ rooms: {},$/;" p variable:Game +run role.builder.js /^ run: function(creep) {$/;" m variable:roleBuilder +run role.guard.js /^ run: function(creep) {$/;" m variable:roleHarvester +run role.harvester.js /^ run: function(creep) {$/;" m variable:roleHarvester +run role.repairer.js /^ run: function(creep) {$/;" m variable:roleRepairer +run role.upgrader.js /^ run: function(creep) {$/;" m variable:roleUpgrader +runReaction ScreepsAutocomplete/Structures/StructureLab.js /^ runReaction: function(lab1, lab2) { }$/;" m class:StructureLab +runRole role.dispatcher.js /^function runRole(creep){$/;" f +runRole role.dispatcher.js /^module.exports = { runRole };$/;" M +safeMode ScreepsAutocomplete/Structures/StructureController.js /^ safeMode: 0,$/;" p class:StructureController +safeModeAvailable ScreepsAutocomplete/Structures/StructureController.js /^ safeModeAvailable: 0,$/;" p class:StructureController +safeModeCooldown ScreepsAutocomplete/Structures/StructureController.js /^ safeModeCooldown: 0,$/;" p class:StructureController +say ScreepsAutocomplete/Creep.js /^ say: function(message, public) { },$/;" m class:Creep +say ScreepsAutocomplete/PowerCreep.js /^ say: function(message, public) { },$/;" m class:PowerCreep +saying ScreepsAutocomplete/Creep.js /^ saying: "",$/;" p class:Creep +saying ScreepsAutocomplete/PowerCreep.js /^ saying: "",$/;" p class:PowerCreep +scripts ScreepsAutocomplete/package.json /^ "scripts": {$/;" o +search ScreepsAutocomplete/PathFinder.js /^ search: function(origin, goal, opts) { },$/;" m variable:PathFinder +secondaryColor ScreepsAutocomplete/Flag.js /^ secondaryColor: 0,$/;" p class:Flag +segments ScreepsAutocomplete/RawMemory.js /^ segments: {},$/;" p variable:RawMemory +send ScreepsAutocomplete/Structures/StructureTerminal.js /^ send: function(resourceType, amount, destination, description) { }$/;" m class:StructureTerminal +serialize ScreepsAutocomplete/PathFinder.js /^ serialize: function() { }$/;" m class:PathFinder.CostMatrix +serializePath ScreepsAutocomplete/Room.js /^ serializePath: function(path) { },$/;" m variable:Room +set ScreepsAutocomplete/PathFinder.js /^ set: function(x, y, cost) { },$/;" m class:PathFinder.CostMatrix +set ScreepsAutocomplete/RawMemory.js /^ set: function(value) { },$/;" m variable:RawMemory +setActiveForeignSegment ScreepsAutocomplete/RawMemory.js /^ setActiveForeignSegment: function(username, id) { },$/;" m variable:RawMemory +setActiveSegments ScreepsAutocomplete/RawMemory.js /^ setActiveSegments: function(ids) { },$/;" m variable:RawMemory +setColor ScreepsAutocomplete/Flag.js /^ setColor: function(color, secondaryColor) { },$/;" m class:Flag +setDefaultPublicSegment ScreepsAutocomplete/RawMemory.js /^ setDefaultPublicSegment: function(id) { },$/;" m variable:RawMemory +setDirections ScreepsAutocomplete/Structures/StructureSpawn.js /^ setDirections: function(directions) { }$/;" m class:StructureSpawn.Spawning +setLocal ScreepsAutocomplete/InterShardMemory.js /^ setLocal: function(value) { },$/;" m class:InterShardMemory +setPosition ScreepsAutocomplete/Flag.js /^ setPosition: function(x, y) { }$/;" m class:Flag +setPublic ScreepsAutocomplete/Structures/StructureRampart.js /^ setPublic: function(isPublic) { }$/;" m class:StructureRampart +setPublicSegments ScreepsAutocomplete/RawMemory.js /^ setPublicSegments: function(ids) { }$/;" m variable:RawMemory +setShardLimits ScreepsAutocomplete/Game.js /^ setShardLimits: function(limits) {},$/;" m property:Game.cpu +shard ScreepsAutocomplete/Game.js /^ shard: {},$/;" p variable:Game +shard ScreepsAutocomplete/PowerCreep.js /^ shard: "",$/;" p class:PowerCreep +shardLimits ScreepsAutocomplete/Game.js /^ shardLimits: {},$/;" p property:Game.cpu +sign ScreepsAutocomplete/Structures/StructureController.js /^ sign: {$/;" p class:StructureController +signController ScreepsAutocomplete/Creep.js /^ signController: function(target, text) { },$/;" m class:Creep +spawn ScreepsAutocomplete/Global/Constants.js /^ spawn: 15000,$/;" p variable:CONSTRUCTION_COST +spawn ScreepsAutocomplete/Global/Constants.js /^ spawn: { 0: 0, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1, 7: 2, 8: 3 },$/;" p variable:CONTROLLER_STRUCTURES +spawn ScreepsAutocomplete/PowerCreep.js /^ spawn: function(powerSpawn) { },$/;" m class:PowerCreep +spawn ScreepsAutocomplete/Structures/StructureSpawn.js /^ spawn: {},$/;" p class:StructureSpawn.Spawning +spawnCooldownTime ScreepsAutocomplete/PowerCreep.js /^ spawnCooldownTime: 0,$/;" p class:PowerCreep +spawnCreep ScreepsAutocomplete/Structures/StructureSpawn.js /^ spawnCreep: function(body, name, opts) { },$/;" m class:StructureSpawn +spawning ScreepsAutocomplete/Creep.js /^ spawning: false,$/;" p class:Creep +spawning ScreepsAutocomplete/Structures/StructureInvaderCore.js /^ spawning: null$/;" p class:StructureInvaderCore +spawning ScreepsAutocomplete/Structures/StructureSpawn.js /^ spawning: null,$/;" p class:StructureSpawn +spawns ScreepsAutocomplete/Game.js /^ spawns: {},$/;" p variable:Game +storage ScreepsAutocomplete/Global/Constants.js /^ storage: 30000,$/;" p variable:CONSTRUCTION_COST +storage ScreepsAutocomplete/Global/Constants.js /^ storage: { 1: 0, 2: 0, 3: 0, 4: 1, 5: 1, 6: 1, 7: 1, 8: 1 },$/;" p variable:CONTROLLER_STRUCTURES +storage ScreepsAutocomplete/Room.js /^ storage: null,$/;" p class:Room +store ScreepsAutocomplete/Creep.js /^ store: {},$/;" p class:Creep +store ScreepsAutocomplete/PowerCreep.js /^ store: {},$/;" p class:PowerCreep +store ScreepsAutocomplete/Ruin.js /^ store: {},$/;" p class:Ruin +store ScreepsAutocomplete/Structures/StructureContainer.js /^ store: {},$/;" p class:StructureContainer +store ScreepsAutocomplete/Structures/StructureExtension.js /^ store: {}$/;" p class:StructureExtension +store ScreepsAutocomplete/Structures/StructureFactory.js /^ store: {},$/;" p class:StructureFactory +store ScreepsAutocomplete/Structures/StructureLab.js /^ store: {},$/;" p class:StructureLab +store ScreepsAutocomplete/Structures/StructureLink.js /^ store: {},$/;" p class:StructureLink +store ScreepsAutocomplete/Structures/StructureNuker.js /^ store: {},$/;" p class:StructureNuker +store ScreepsAutocomplete/Structures/StructurePowerSpawn.js /^ store: {},$/;" p class:StructurePowerSpawn +store ScreepsAutocomplete/Structures/StructureSpawn.js /^ store: {},$/;" p class:StructureSpawn +store ScreepsAutocomplete/Structures/StructureStorage.js /^ store: {},$/;" p class:StructureStorage +store ScreepsAutocomplete/Structures/StructureTerminal.js /^ store: {},$/;" p class:StructureTerminal +store ScreepsAutocomplete/Structures/StructureTower.js /^ store: {},$/;" p class:StructureTower +store ScreepsAutocomplete/Tombstone.js /^ store: { },$/;" p class:Tombstone +storeCapacity ScreepsAutocomplete/Structures/StructureContainer.js /^ storeCapacity: 0,$/;" p class:StructureContainer +storeCapacity ScreepsAutocomplete/Structures/StructureFactory.js /^ storeCapacity: 0,$/;" p class:StructureFactory +storeCapacity ScreepsAutocomplete/Structures/StructureStorage.js /^ storeCapacity: 0$/;" p class:StructureStorage +storeCapacity ScreepsAutocomplete/Structures/StructureTerminal.js /^ storeCapacity: 0,$/;" p class:StructureTerminal +stroke role.builder.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" p property:anonymousObjectdcb57f170105.visualizePathStyle +stroke role.guard.js /^ creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p property:anonymousObjectefdc76230105.visualizePathStyle +stroke role.harvester.js /^ creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p property:anonymousObject764534440105.visualizePathStyle +stroke role.repairer.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" p property:anonymousObject2f89e08a0205.visualizePathStyle +stroke role.upgrader.js /^ creep.moveTo(creep.room.controller, {visualizePathStyle: {stroke: '#ffffff'}});$/;" p property:anonymousObjectfb9947ca0105.visualizePathStyle +stroke role.upgrader.js /^ creep.moveTo(sources[1], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p property:anonymousObjectfb9947ca0205.visualizePathStyle +stroke utils.energy.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" p property:anonymousObjectd2a968f90505.visualizePathStyle +stroke utils.energy.js /^ creep.moveTo(storage[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p property:anonymousObjectd2a968f90205.visualizePathStyle +structure ScreepsAutocomplete/Ruin.js /^ structure: {},$/;" p class:Ruin +structureType ScreepsAutocomplete/ConstructionSite.js /^ structureType: "",$/;" p class:ConstructionSite +structureType ScreepsAutocomplete/Structure.js /^ structureType: "",$/;" p class:Structure +structures ScreepsAutocomplete/Game.js /^ structures: {},$/;" p variable:Game +suicide ScreepsAutocomplete/Creep.js /^ suicide: function() { },$/;" m class:Creep +suicide ScreepsAutocomplete/PowerCreep.js /^ suicide: function() { },$/;" m class:PowerCreep +terminal ScreepsAutocomplete/Global/Constants.js /^ terminal: 100000,$/;" p variable:CONSTRUCTION_COST +terminal ScreepsAutocomplete/Room.js /^ terminal: null,$/;" p class:Room +test ScreepsAutocomplete/package.json /^ "test": "echo \\"Error: no test specified\\" && exit 1"$/;" s object:scripts +text ScreepsAutocomplete/Game.js /^ text: function(text, pos, style) { },$/;" m class:MapVisual +text ScreepsAutocomplete/RoomVisual.js /^ text: function(text, x, y, style) { },$/;" m class:RoomVisual +text ScreepsAutocomplete/Structures/StructureController.js /^ text: "",$/;" p property:StructureController.sign +tickLimit ScreepsAutocomplete/Game.js /^ tickLimit: 0,$/;" p property:Game.cpu +ticksToDecay ScreepsAutocomplete/Deposit.js /^ ticksToDecay: 0$/;" p class:Deposit +ticksToDecay ScreepsAutocomplete/Ruin.js /^ ticksToDecay: 0$/;" p class:Ruin +ticksToDecay ScreepsAutocomplete/Structures/StructureContainer.js /^ ticksToDecay: 0$/;" p class:StructureContainer +ticksToDecay ScreepsAutocomplete/Structures/StructurePortal.js /^ ticksToDecay: 0$/;" p class:StructurePortal +ticksToDecay ScreepsAutocomplete/Structures/StructurePowerBank.js /^ ticksToDecay: 0$/;" p class:StructurePowerBank +ticksToDecay ScreepsAutocomplete/Structures/StructureRampart.js /^ ticksToDecay: 0,$/;" p class:StructureRampart +ticksToDecay ScreepsAutocomplete/Structures/StructureRoad.js /^ ticksToDecay: 0$/;" p class:StructureRoad +ticksToDecay ScreepsAutocomplete/Tombstone.js /^ ticksToDecay: 0$/;" p class:Tombstone +ticksToDeploy ScreepsAutocomplete/Structures/StructureInvaderCore.js /^ ticksToDeploy: 0,$/;" p class:StructureInvaderCore +ticksToDowngrade ScreepsAutocomplete/Structures/StructureController.js /^ ticksToDowngrade: 0,$/;" p class:StructureController +ticksToEnd ScreepsAutocomplete/Structures/StructureController.js /^ ticksToEnd: 0$/;" p property:StructureController.reservation +ticksToLive ScreepsAutocomplete/Creep.js /^ ticksToLive: 0,$/;" p class:Creep +ticksToLive ScreepsAutocomplete/PowerCreep.js /^ ticksToLive: 0,$/;" p class:PowerCreep +ticksToRegeneration ScreepsAutocomplete/Mineral.js /^ ticksToRegeneration: 0$/;" p class:Mineral +ticksToRegeneration ScreepsAutocomplete/Source.js /^ ticksToRegeneration: 0$/;" p class:Source +ticksToSpawn ScreepsAutocomplete/Structures/StructureKeeperLair.js /^ ticksToSpawn: 0$/;" p class:StructureKeeperLair +time ScreepsAutocomplete/Game.js /^ time: 0,$/;" p variable:Game +time ScreepsAutocomplete/Structures/StructureController.js /^ time: 0,$/;" p property:StructureController.sign +timeToLand ScreepsAutocomplete/Nuke.js /^ timeToLand: 0$/;" p class:Nuke +totalAmount ScreepsAutocomplete/Order.js /^ totalAmount: 0,$/;" p variable:Order +tough ScreepsAutocomplete/Global/Constants.js /^ tough: 10,$/;" p variable:BODYPART_COST +tough ScreepsAutocomplete/Global/Constants.js /^ tough: {$/;" p variable:BOOSTS +tower ScreepsAutocomplete/Global/Constants.js /^ tower: 5000,$/;" p variable:CONSTRUCTION_COST +tower ScreepsAutocomplete/Global/Constants.js /^ tower: { 1: 0, 2: 0, 3: 1, 4: 1, 5: 1, 6: 2, 7: 2, 8: 4 },$/;" p variable:CONTROLLER_STRUCTURES +transfer ScreepsAutocomplete/Creep.js /^ transfer: function(target, resourceType, amount) { },$/;" m class:Creep +transfer ScreepsAutocomplete/PowerCreep.js /^ transfer: function(target, resourceType, amount) { },$/;" m class:PowerCreep +transferEnergy ScreepsAutocomplete/Structures/StructureLink.js /^ transferEnergy: function(target, amount) { }$/;" m class:StructureLink +type ScreepsAutocomplete/Order.js /^ type: 'sell',$/;" p variable:Order +type ScreepsAutocomplete/package.json /^ "type": "git",$/;" s object:repository +unboostCreep ScreepsAutocomplete/Structures/StructureLab.js /^ unboostCreep: function(creep) { },$/;" m class:StructureLab +unclaim ScreepsAutocomplete/Structures/StructureController.js /^ unclaim: function() { }$/;" m class:StructureController +unlock ScreepsAutocomplete/Game.js /^ unlock: function() {},$/;" m property:Game.cpu +unlocked ScreepsAutocomplete/Game.js /^ unlocked: false,$/;" p property:Game.cpu +unlockedTime ScreepsAutocomplete/Game.js /^ unlockedTime: 0,$/;" p property:Game.cpu +upgrade ScreepsAutocomplete/PowerCreep.js /^ upgrade: function(power) { },$/;" m class:PowerCreep +upgradeBlocked ScreepsAutocomplete/Structures/StructureController.js /^ upgradeBlocked: 0,$/;" p class:StructureController +upgradeController ScreepsAutocomplete/Creep.js /^ upgradeController: function(target) { },$/;" m class:Creep +upgradeController ScreepsAutocomplete/Global/Constants.js /^ upgradeController: 1.3$/;" p property:BOOSTS.work.GH +upgradeController ScreepsAutocomplete/Global/Constants.js /^ upgradeController: 1.65$/;" p property:BOOSTS.work.GH2O +upgradeController ScreepsAutocomplete/Global/Constants.js /^ upgradeController: 2$/;" p property:BOOSTS.work.XGH2O +upgrader main.js /^var creepCounts = {"harvester" : 3, "builder" : 1, "upgrader" : 2, "repairer" : 1};$/;" p variable:creepCounts +upgrader role.dispatcher.js /^ upgrader: roleUpgrader,$/;" p variable:roleMap +url ScreepsAutocomplete/package.json /^ "url": "git+https:\/\/github.com\/Garethp\/ScreepsAutocomplete.git"$/;" s object:repository +url ScreepsAutocomplete/package.json /^ "url": "https:\/\/github.com\/Garethp\/ScreepsAutocomplete\/issues"$/;" s object:bugs +use ScreepsAutocomplete/PathFinder.js /^ use: function(isEnabled) { }$/;" m variable:PathFinder +usePower ScreepsAutocomplete/PowerCreep.js /^ usePower: function(power, [target]) { },$/;" m class:PowerCreep +username ScreepsAutocomplete/ConstructionSite.js /^ username: ""$/;" p property:ConstructionSite.owner +username ScreepsAutocomplete/Creep.js /^ username: ""$/;" p property:Creep.owner +username ScreepsAutocomplete/OwnedStructure.js /^ username: ""$/;" p property:OwnedStructure.owner +username ScreepsAutocomplete/PowerCreep.js /^ username: ""$/;" p property:PowerCreep.owner +username ScreepsAutocomplete/Structures/StructureController.js /^ username: "",$/;" p property:StructureController.reservation +username ScreepsAutocomplete/Structures/StructureController.js /^ username: "",$/;" p property:StructureController.sign +version ScreepsAutocomplete/package.json /^ "version": "1.0.0",$/;" s +visual ScreepsAutocomplete/Game.js /^ visual: {}$/;" p property:Game.map +visual ScreepsAutocomplete/Room.js /^ visual: null,$/;" p class:Room +visualizePathStyle role.builder.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" p variable:anonymousObjectdcb57f170105 +visualizePathStyle role.guard.js /^ creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p variable:anonymousObjectefdc76230105 +visualizePathStyle role.harvester.js /^ creep.moveTo(sources[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p variable:anonymousObject764534440105 +visualizePathStyle role.repairer.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" p variable:anonymousObject2f89e08a0205 +visualizePathStyle role.upgrader.js /^ creep.moveTo(creep.room.controller, {visualizePathStyle: {stroke: '#ffffff'}});$/;" p variable:anonymousObjectfb9947ca0105 +visualizePathStyle role.upgrader.js /^ creep.moveTo(sources[1], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p variable:anonymousObjectfb9947ca0205 +visualizePathStyle utils.energy.js /^ creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}});$/;" p variable:anonymousObjectd2a968f90505 +visualizePathStyle utils.energy.js /^ creep.moveTo(storage[0], {visualizePathStyle: {stroke: '#ffaa00'}});$/;" p variable:anonymousObjectd2a968f90205 +withdraw ScreepsAutocomplete/Creep.js /^ withdraw: function(target, resourceType, amount) { }$/;" m class:Creep +withdraw ScreepsAutocomplete/PowerCreep.js /^ withdraw: function(target, resourceType, amount) { }$/;" m class:PowerCreep +work ScreepsAutocomplete/Global/Constants.js /^ work: 100,$/;" p variable:BODYPART_COST +work ScreepsAutocomplete/Global/Constants.js /^ work: {$/;" p variable:BOOSTS +x ScreepsAutocomplete/RoomPosition.js /^ x: 0,$/;" p class:RoomPosition +y ScreepsAutocomplete/RoomPosition.js /^ y: 0,$/;" p class:RoomPosition diff --git a/utils.energy.js b/utils.energy.js new file mode 100644 index 0000000..6e367ae --- /dev/null +++ b/utils.energy.js @@ -0,0 +1,49 @@ +var energyUtils = { + gatherEnergy : function(creep) { + var storage = creep.room.find(FIND_STRUCTURES, { + filter: (structure) => { + return (structure.structureType == STRUCTURE_CONTAINER) && + structure.store.getUsedCapacity(RESOURCE_ENERGY) > 0; + } + }); + /** + if(storage.length == 0){ + storage = creep.room.find(FIND_STRUCTURES, { + filter: (structure) => { + return (structure.structureType == STRUCTURE_SPAWN) && + structure.store.getUsedCapacity(RESOURCE_ENERGY) > 0; + } + }); + } + **/ + if(creep.withdraw(storage[0], RESOURCE_ENERGY) == ERR_NOT_IN_RANGE) { + creep.moveTo(storage[0], {visualizePathStyle: {stroke: '#ffaa00'}}); + } + }, + depositEnergy : function(creep) { + var targets = creep.room.find(FIND_STRUCTURES, { + filter: (structure) => { + return structure.structureType == STRUCTURE_SPAWN && + structure.store.getUsedCapacity(RESOURCE_ENERGY) < 250; + } + }); + if(targets.length == 0){ + targets = creep.room.find(FIND_STRUCTURES, { + filter: (structure) => { + return (structure.structureType == STRUCTURE_EXTENSION || + structure.structureType == STRUCTURE_CONTAINER || + structure.structureType == STRUCTURE_TOWER) && + structure.store.getFreeCapacity(RESOURCE_ENERGY) > 0; + } + }); + } + if(targets.length > 0) { + if(creep.transfer(targets[0], RESOURCE_ENERGY) == ERR_NOT_IN_RANGE) { + creep.moveTo(targets[0], {visualizePathStyle: {stroke: '#ffffff'}}); + } + } + return targets.length > 0; + } +} + +module.exports = energyUtils; \ No newline at end of file