Screeps tower3/28/2024 I created priority “buckets,” assigning priority 10 requests first, then priority 9 requests, etc. builders kept getting distracted with hauling Tasks were not being assigned to “favored” minions, e.g.Certain TaskActions were getting “de facto” priority by being sorted higher in the list.Priority was being ignored - lower-priority requests were being assigned when higher-priority ones had not been fulfilled.After watching the report for a little while, I realized a few things: This is little more than a visual representation of the tasks and requests the TaskSupervisor is tracking internally, but it was immensely helpful. I needed better insight into what was going on. I tried inspecting the memory, but staring at a raw JSON object is neither friendly nor helpful. They were spending a lot of time moving energy around, but construction sites weren’t being built. After implementing task management in the last post, I watched my minions moving around and could tell something wasn’t quite right. The first step in getting to where you want to be is determining where you are. Here’s the GitHub repo if you’d like to follow along. The article below describes the AI in its current state: I’m still expanding and refining my codebase.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |