![screeps safe mode screeps safe mode](https://docs.screeps.com/api/img/invaderCore.png)
This is beacause of the next change and wanting to do the defender role to run with every clock tick. I removed the defender role from creeps.manager.It will build on every available spawn in a room now. I can now be building 2 creeps at the same time in one room.It looks for dangerous creeps first, then buildings, controllers, etc. All the roles are exactly the same, that way you can be reserving 3 rooms per one of your rooms. They all will go to a room and reserve the controller of a room.
![screeps safe mode screeps safe mode](https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/items/464350/e4b6b66031b84686b45445269205cb68eaaa51e7.jpg)
There are 3 new roles called reserve, reserve2 and reserve3.So long I am not sure I can remember everything that has changed.
#SCREEPS SAFE MODE UPDATE#
It has been a long time since I put an update out. This will also be like a diary as to what I was thinking so in the future I can look and see why did some of the stupid things I did. I am going to start putting details about my changes I upload here instead of in the commit messages. I do not have much spare time so it will take a while but will be good for me too as this is getting more and more complicated. I am going to start creating a wiki in my spare time that details all of the roles, functions, etc. It will be called walkthrough.md and will be part of the package you get from github. I will e writing it as I start new on a private server so it will take some time. I am going to start working on a step by step walkthough of starting from a new account and new room using these scripts. That is where I am adding things as I think about them. TODO Listįor the latest to do list look at the top of the main.js file.
#SCREEPS SAFE MODE CODE#
The ultimate goal is to be able to create a room, drop this code and let the room grow on it's own with you only needing to put construction items when and where needed. This code is very very ugly, once I get it all figured out I want to re-write it in Classes or at a minimum restructure and make it pretty. There is still much automation yet to create, more than I even know of. It is interesting to look through how far the code has advanced since the first upload. I am new to screeps but want to put my code in case it helps anyone else.