The-International-Open-Source icon indicating copy to clipboard operation
The-International-Open-Source copied to clipboard

Spawn request system refactor

Open CarsonBurke opened this issue 2 years ago • 0 comments

  • requests on made on demand based on priority, instead of doing all the calculations for all roles
  • When spawns request skeletons are created in spawnRequester.ts, they add to room.spawnRequestSkeletons the opts they want for a real spawnRequest
  • SpawnRequest class that converts spawnRequestSkeleton(s) into SpawnRequests
  • While there are inactive spawns, use spawn requests, or if none convert spawn request skeletons into spawn requests, and try to spawn them

CarsonBurke avatar Aug 29 '22 23:08 CarsonBurke