Support for mixed quality of shipments in trains

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

jirkov
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Nov 07, 2024 4:07 pm
Contact:

Support for mixed quality of shipments in trains

Post by jirkov »

TL;DR
I would need a train carrying a single good (for example, purple science packs) of different qualities to produce the item parameter in train consistently.
What?
In my game I usually play with universal trains that handle everything with six simple exceptions. This usually works fine until a mix of qualities is encountered. For example, when I go to the laboratory with science packages, I need 5 unnecessary duplicate stops next to each other for each quality, even though I'm going in the same direction and only one would be enough. The problem is that the trains use an item parameter that doesn't really understand quality (or rather, it's poorly implemented).

Currently, if I put science packages of different qualities into the train, it only throws out one as a result (which is not a problem), but it's not always the same. For example, if I load green + blue quality in the test in the picture -> green, green + blue + gray -> gray. Unfortunately, I can't name the stop any quality, so these two tests will go to different stops.
q2.png
q2.png (307.11 KiB) Viewed 190 times
q3.png
q3.png (363.05 KiB) Viewed 190 times
When I add a stop to an exception, it is possible to select the quality in the item parameter, but it is currently irrelevant because only gray works, the others do not change depending on the train cargo(you can see this in the pictures above). It would be enough to change only that it converts the quality to the desired + the any quality option (as gray works now). If I select any( :any-quality: ) in the new settings, it works as before gray, if I select a specific quality, all items are converted to the given quality and the item parameter is the selected quality item (same example as above, only I select gray quality, green + blue -> gray, green + blue + gray -> gray) As a result, a train carrying any quality (or multiple qualities at the same time) will only transport items to one stop correctly as it should.
q1.png
q1.png (456.77 KiB) Viewed 190 times
Why?
It would be great if this simple system of importing raw materials and materials could also work for a mix of qualities and not just for individual ones.

I really hope that this is understandable, and if not, write to me and I will try it differently
Post Reply

Return to “Ideas and Suggestions”