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

Base planning refactor

Open CarsonBurke opened this issue 2 years ago • 1 comments

Describe what you want the bot to do

-BasePlanner class instantiated that contains methods that handle main aspects of base planning, utilizing things like room prototypes for the smaller parts -RampartPlanner class that handles rampart planning -Stamp rotation -Stamp anchors recorded in memory, sperate from everything else and not to be used for structure placement purposes -Planned structures stored in either base plans or rampart plans in memory -Planned structures stored in memory as string[] where string is String<structureNumberReference, minRCL> -coordMaps used while planning that persist in room global until deleted when planning is finished -Abstractor function to read and reference these coordMaps to make things easier -coordMaps are converted into storage arrays at the end of planning -coordMaps are objects with keys of packed coord strings, values of stringified array informing structures at the tile, and the RCL to build them -Stamp anchors for stored in memory

CarsonBurke avatar Aug 26 '22 05:08 CarsonBurke

https://app.milanote.com/1OvVNL1GdZWSaH?p=WfgX7OwiJdg Some interesting concepts I added is priority structures and max csCount per room

pieterbrandsen avatar Sep 07 '22 14:09 pieterbrandsen