KungFuClan / KungFuScreeps

https://screepers.gitbook.io/screeps-typescript-starter/
9 stars 4 forks source link

Begin tracking portals with scouts #101

Open UhmBrock opened 4 years ago

UhmBrock commented 4 years ago

Scouts (and any other creep really) should be adding portals to a spot in Empire memory. Ideally we check if the conditions for a portable are correct ( I believe they only spawn in corners, so E/W & N/S should be divisible by 5), then we can check for structures in a room.

We should do this inside the updateRoomStatus in Voyager.