You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, thank you for your library. It seems pretty much like magic to me, the way the code works. I had a question (not really an issue, but I didn't know where else to post this) about this part of the comments in the colony.h file.
## Hauling & delivery In order to implement hauling, the pipeline should be started twice per frame. The first execution should assign resources to delivery destinations. This assignment creates the "delivery tasks" for the second execution where characters are assigned to the tasks.
I've been trying to understand what "hauling" means in this context, and what it means to "assign resources to delivery destinations," which is supposed to create "delivery tasks" in the next iteration. Can I have a little help figuring this part out, if you have the time?
The text was updated successfully, but these errors were encountered:
Hi! This part applies to games where items & resources are delivered to storage spaces. Each storage space may have varying distance from resources & may have a limited capacity. Under those conditions some delivery tasks may interact with each other (for example when there is a nearby stockpile but only one item can be delivered there) so some thought should go into picking which resources would be delivered to which storage spaces. The comment that you're referring to suggests to break down this problem into two parts - first one that would assign items to their destinations (based on their distances / value / other factors) & second one - where colonists are assigned to the delivery (and non-delivery) tasks.
If you're not familiar with this mechanic, I guess it would be best to see it in practice by playing some game such as Rimworld or Dwarf Fortress. It's described here (https://dwarffortresswiki.org/index.php/DF2014:Hauling) but I think experiencing this problem first-hand may help you build a better intuition for the nuances.
Hi! First of all, thank you for your library. It seems pretty much like magic to me, the way the code works. I had a question (not really an issue, but I didn't know where else to post this) about this part of the comments in the
colony.h
file.## Hauling & delivery In order to implement hauling, the pipeline should be started twice per frame. The first execution should assign resources to delivery destinations. This assignment creates the "delivery tasks" for the second execution where characters are assigned to the tasks.
I've been trying to understand what "hauling" means in this context, and what it means to "assign resources to delivery destinations," which is supposed to create "delivery tasks" in the next iteration. Can I have a little help figuring this part out, if you have the time?
The text was updated successfully, but these errors were encountered: