For those not familiar, Dijkstra's Algorithm is literally "take the path that costs the least"
I've noticed that crafters will run clear across my town to obtain a single item from the output of a mine before they look in the storage box next to them.
Would it be possible to implement this algorithm for these automated material gathering jobs in order to obtain the materials from the closest building/storage available before going farther out?
Dijkstra's Algorithm for Automated Crafting
Yeah to put that in metaphor, you wouldn't send someone from a pencil factory to the graphite processing plant to pick up the graphite for the pencils. It can be dangerous for people to walk into a factory they know nothing about, and the pencil maker could easily get in the way of the graphite processors, slowing down production. IMO a worker should only grab materials from a processor if there is no storage/deposit box to grab them out of. And they should never run between towns for supplies unless specifically told to do so. But in lieu of a system dictating what workers may grab materials from, we should at least grab them from the nearest location.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests