a screeps bot
David Franke ec0f76f2f0 Remove SpawnManager from profiler. 4 months ago
..
creep-manager.js Add a preRun function to roles that can prevent execution of the main run function. 1 year ago
debug.js Code style and fixes for problems caused from wrong code style / sloppy refactoring 1 year ago
hivemind.js Fix process throttling not always working. 1 year ago
link-network.js Renamed files for consistent naming 1 year ago
main.js Added utility method that checks if a room is owned by the player. 9 months ago
manager.bay.js Detect inactive structures in a low-priority process and cache results to prevent calling isActive all the time. 1 year ago
manager.boost.js Fix docs and remove unnecessary variable. 9 months ago
manager.exploit.js Refactor exploit spawn code to actually use a SpawnRole. 9 months ago
manager.military.js Military manager code style, documentation and slight refactoring 1 year ago
manager.source.js Move getMaxWorkParts from Source.prototype to HarvesterSpawnRole. 1 year ago
manager.squad.js Remove the notion of flags for controlling spawns. 9 months ago
process.creeps.js Respawn power creeps in their designated rooms automatically. 9 months ago
process.creeps.power.spawn.js Respawn power creeps in their designated rooms automatically. 9 months ago
process.empire.resources.js Added utility method that checks if a room is owned by the player. 9 months ago
process.empire.trade.js Don't try creating trades with value < 0.001. 1 year ago
process.init.js Start splitting room management out of RoomPlanner. 8 months ago
process.js More refactoring / documentation 1 year ago
process.rooms.intel.js More refactoring / documentation 1 year ago
process.rooms.js Added utility method that checks if a room is owned by the player. 9 months ago
process.rooms.owned.defense.js More refactoring / documentation 1 year ago
process.rooms.owned.inactive-structures.js Fix inactive structure detection for structures that are not limited (like the room's controller itself). 1 year ago
process.rooms.owned.js Fix room manager priorities. 7 months ago
process.rooms.owned.labs.js More refactoring / documentation 1 year ago
process.rooms.owned.labs.position.js Detect inactive structures in a low-priority process and cache results to prevent calling isActive all the time. 1 year ago
process.rooms.owned.labs.reactions.js More refactoring / documentation / move reactions process from empire to owned rooms. 1 year ago
process.rooms.owned.links.js Fix documentation. 8 months ago
process.rooms.owned.manager.js Start splitting room management out of RoomPlanner. 8 months ago
process.rooms.owned.songs.js Convert builder role to new format. 1 year ago
process.rooms.owned.spawns.js Fix spawn code. 9 months ago
process.strategy.expand.js Added utility method that checks if a room is owned by the player. 9 months ago
process.strategy.mining.js Fix message about adjusted harvest room numbers. 4 months ago
process.strategy.power.js Added utility method that checks if a room is owned by the player. 9 months ago
process.strategy.scout.js Added utility method that checks if a room is owned by the player. 9 months ago
profiler.js Remove SpawnManager from profiler. 4 months ago
prototype.construction-site.js Fix obstacle detection 1 year ago
prototype.creep.js Consider carry parts dangerous, as they might steal resources. 7 months ago
prototype.creep.movement.js Allow creeps to navigate around power creeps. 1 year ago
prototype.room.creeps.js Renamed files for consistent naming 1 year ago
prototype.room.intel.js Fix spawn code. 9 months ago
prototype.room.js Renamed files for consistent naming 1 year ago
prototype.room.pathfinding.js Limit room pathfinding to a range of 20 around the target room. 1 year ago
prototype.room.resources.js Do not request remote harvest info cache twice. 9 months ago
prototype.room.structures.js Detect inactive structures in a low-priority process and cache results to prevent calling isActive all the time. 1 year ago
prototype.structure.js Detect inactive structures in a low-priority process and cache results to prevent calling isActive all the time. 1 year ago
relations.js Code style 1 year ago
role.brawler.js Added utility method that checks if a room is owned by the player. 9 months ago
role.builder.exploit.js Convert exploit builder role to new format. 1 year ago
role.builder.js Document builder behavior. 4 months ago
role.builder.remote.js Added utility method that checks if a room is owned by the player. 9 months ago
role.claimer.js Remove signs from our controllers. 7 months ago
role.dismantler.js Finish splitting RoomManager out of RoomPlanner. 8 months ago
role.gift.js Small style / doc changes. 9 months ago
role.harvester.exploit.js Convert exploit harvester role to new format. 1 year ago
role.harvester.js Documentation update. 1 year ago
role.harvester.power.js Convert power harvester role to new format. 1 year ago
role.harvester.remote.js Convert hauler role to new format. 1 year ago
role.hauler.exploit.js Minor code style. 1 year ago
role.hauler.js Don't try to build roads in owned rooms. 9 months ago
role.hauler.power.js Convert power hauler role to new format. 1 year ago
role.helper.js Convert helper role to new format and get rid of helper flags. 1 year ago
role.js Move containSingleRoomCreeps and boost manager logic to default preRun code so we can finally completely remove creep handling from main.old.js. 1 year ago
role.operator.js Documentation update. 1 year ago
role.scout.js Reorder functions in scout role. 1 year ago
role.transporter.js Convert transporter role to new format. 1 year ago
role.upgrader.js Remove signs from our controllers. 7 months ago
room-intel.js Gather info about abandoned resources in origin room memory. 4 months ago
room-manager.js Reduce complexity. 4 months ago
room-planner.js Fix documentation. 4 months ago
screeps-profiler.js Converted indentation to tabs 1 year ago
snippets.js Added utility method that checks if a room is owned by the player. 9 months ago
spawn-manager.js Clean up remnants of old spawn manager. 9 months ago
spawn-role.brawler.js Convert remote harvesting creep spawning into SpawnRole. 9 months ago
spawn-role.builder.js Finish splitting RoomManager out of RoomPlanner. 8 months ago
spawn-role.claimer.js Fix spawn code. 9 months ago
spawn-role.dismantler.js Finish splitting RoomManager out of RoomPlanner. 8 months ago
spawn-role.exploit.js Small fixes. 9 months ago
spawn-role.gift.js Fix room references in gift SpawnRole. 9 months ago
spawn-role.harvester.js Improvements for low-level rooms. 8 months ago
spawn-role.harvester.minerals.js Convert mineral harvesters into a SpawnRole. 9 months ago
spawn-role.harvester.power.js Convert spawn code for power harvester and power hauler creeps into SpawnRole code. 9 months ago
spawn-role.harvester.remote.js Convert remote harvesting creep spawning into SpawnRole. 9 months ago
spawn-role.hauler.js Convert remote harvesting creep spawning into SpawnRole. 9 months ago
spawn-role.hauler.power.js Convert spawn code for power harvester and power hauler creeps into SpawnRole code. 9 months ago
spawn-role.helper.js Convert spawn code for gift and helper creeps into SpawnRole code. 9 months ago
spawn-role.js Record brawler cost for remote harvesting as usual. 9 months ago
spawn-role.scout.js Convert scout spawn code to SpawnRole. 9 months ago
spawn-role.squad.js Fix squads spawning brawlers only. 9 months ago
spawn-role.transporter.js Convert spawn code for transporter creeps into SpawnRole code. 9 months ago
spawn-role.upgrader.js Slight optimizations for first room. 7 months ago
stats.js Finish refactoring / documentation. Finally, xo is happy! 1 year ago
utilities.js Improvements for low-level rooms. 8 months ago