Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trains should try and create a delivery from the station they just completed a delivery to #141

Open
asvanberg opened this issue Nov 28, 2023 · 1 comment

Comments

@asvanberg
Copy link

When using combined requester/provider stations, if a train has just finished delivering to it, it would be very good if the train checked if there's something that can be picked up from that very station.

Should be a quite nice reduction in the number of trains required since there'd be fewer empty trains moving around.

Bonus points if an incoming train to a station would make other trains prefer different deliveries not from that station since they would be handled by the incoming train after it's been unloaded.

@jagoly
Copy link
Contributor

jagoly commented Nov 29, 2023

Unfortunately running the dispatcher an extra time specifically for when a train leaves a requester would be a huge amount of new code (it'd basically need to an entirely new dispatch function), so is very unlikely to happen.

More likely would be allowing trains to wait at requesters instead of heading back to depots right away, as discussed in https://discord.com/channels/1058170227000606811/1160486749722660864/1160486749722660864, which would also mostly provide the benefit you describe (among others), without needing a new dispatcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants