Screeps game.rooms2/13/2023 ![]() RunTask() is a method I added to the Creeps.prototype. ![]() The creeps themselves are just looped like this: There are more such values in this data structure. That way I just adjust the level once a day. That prevents that creeps upgrade one wall to a super high value before going on with the next wall. Maintenance area is the area in which the creeps should upgrade walls (a bit specific to my rooms) and min_wall is the level to which they should upgrade (My older room with better walls is at a higher level). As a total beginner myself I found the following things helpful (mostly because that was what I had to change when I invaded the first room):Īvoid using anything like 圜ontroller, instead loop over the rooms like: for(var room_it in Game.rooms) ,
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |