Trucks ignoring priority on Loose Storage

Vehicles & Roads
laskiewicz [github] · 1 year ago

Issue description

I have a Loose Storage to empty with priority 15 and assigned 5 Haul Trucks, and "Accept assigned only" is unchecked.

Image

But Trucks keeps ignoring higher priority jobs across the island and insists on emptying this storage:

Image

Reproduction steps

  1. Set Export on Loose Storage to 15.
  2. Trucks keep emptying storage and ignoring higher priority jobs.

Game version and build number

v0.7.8a (b486)

Operating system

Windows

Attachments

Dragon.save

1 attachment only for registered users
cw64 [github] · 1 year ago

Why is it hard to fix?. Make assigned trucks superceed the rest of the logistics system.

I had my suspicions a while back that the logistics system is poorly designed and needs to be rewritten. All you need is a queue of requests and an agent assigning trucks in turn to each request in the queue order. The order of the queue set by building priority (set on trigger, not changeable after placed in queue), and placement in the queue set by the materials reaching a threshold as set by the user. Or in the case of non storage buildings by the amount reaching truck size (in the case of full trucks only) or simply by the end product being present (in the case of partially filled trucks).

Sounds simple and logically sound, why can't it be done?

22 Showing 1–3 of 3