Read New Creep Memory While It's Spawning
-
I haven't seen a way to manage role quotas by just the memory we assign the new creep. While it's spawning the spawning property doesn't expose it. Would be helpful if that was accessable while it's spawning so we could quantify what we have and what is being spawned without using a different method for tracking it.
-
you can add memory while creating
http://support.screeps.com/hc/en-us/articles/203016392-Spawn#createCreep