-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spawn setup #10
Comments
I'm not playing Screeps anymore, so don't expect any updates from me. Feel free to fork and add your own stuff however. |
sure, i'll butcher some code: var allspawns = _.filter(Game.spawns, s => s.structureType == STRUCTURE_SPAWN); also, i noticed LongDistanceHarvesters to change energy sources at random intervals |
Well for any remote roles it depends on if you want them returning to their home room or not so maybe something with an array of homeRoom, targetRoom, roleNameAmount if you want them to come back OR targetRoom, roleNameAmount if you don't want them back. As for Claimer it'd be an array of targetRooms that would clear each claimed room. Also in any of these cases you might want to clear the memory of specific ones when you can't send into or lose access to a target room. That said the Long distance or remote ones should likely be room level memory as oppose to spawn level unless there's some reason to have them that way. |
Hey thPion,
I has seen the video's on the script, however, could you add a setup for the spawn that sets their memory based on certain variables?
This and building logic would would make it a good step closer to automation...
The text was updated successfully, but these errors were encountered: