let foundUpgraderCreeps = spawner.room.find(FIND_MY_CREEPS,
{ fitler: (creep) => { return creep.memory.role === 'upgrader'; }});
For whatever reason this here is returning all the creeps in the room, I have a creep with the role and…
Below is my script for my builder creeps. The creeps are able to build just fine, but my script throws an error on the repair section I wrote. The entire building script is pasted below:
var roleBuilder = {
/** @param {Creep} creep **/
run:…
I am trying to make a modular auto-spawner system where i just need to import the file to start spawning creeps of that role.
But what happens is that i get this error every tick.
ReferenceError: spawnInfo is not defined
at…
Is there currently a way to automate construction in the game? If there is not a way, are we allowed to use external scripts to do this for us in the multiplayer version?