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

Stop haulers from thinking actioned did more than they actually did

Open CarsonBurke opened this issue 1 year ago • 1 comments

image

  • this hauler thinks it transferred all of its energy into the left fastFiller container, likely because another creep reserved to withdraw but hadn't yet withdrawn

Solutions

  • break reserveStore and nextStore into two components each
    • reserveStoreIn
    • reserveStoreOut
    • nextStoreIn
    • nextStoreOut
      • this allows us to distinguish between what we have, what we intend to take, and what intend to input. That way creeps can't reserve to withdraw until the reserve to transfer to a sufficient level is completed.

CarsonBurke avatar Jun 30 '23 20:06 CarsonBurke

This problem is cursed and the solution is also cursed

CarsonBurke avatar Sep 21 '23 05:09 CarsonBurke