Comment 21 for bug 1535115

Revision history for this message
king of nowhere (lainluigi86) wrote :

yes, i was only referring to deadlocks. traffic jams will eventually resolve, and the wares will be transported, but in a deadlock nothing is moving. refer to image 006 that I attached for the concept. My timer idea would reset every time a ware is moved at the flag, so only flags with 8 wares and no movement for 5 minutes would be affected. And if there are 8 wares and none of them has moved in the last 5 minutes, it is almost certainly a deadlock. teaching ai to avoid traffic jams is something advanced that we may do in the future, but automatically solving deadlocks is a first step and it is easier.