Add train conditions for filtered slots
Posted: Sat May 18, 2024 1:05 am
TL;DR
Add a filter for train conditions that checks for "filtered item slot of x type is full"What ?
I really enjoy direct train-to-building insert builds in factorio, its a really unique way of building factories where trains navigate to all the materials they need and bring everything to a building stop to use up their inventory, like this:As fun as it is, the repetitive part for it is despite the fact that I set up filters, I have to calculate and setup conditions for every type of item when all I really want is to see if the filters I setup for all the wagons for my train are full:
This gets especially a little tedious when dealing with different stack sizes and slot configurations.
Why ?
One could argue that's what inactivity is for, however inactivity doesn't account for when it may be at a stop and not receiving items (item shortage or logistical mistake), which is why I prefer to always wait for its filter slots of a certain type to be full. Also given that these trains are supposed to making x item of a particular type, its important they're full.Additionally circuits and/or the new contaminator in 2.0 wouldn't help either as I have wagons that accept varying numbers of slots (depending upon the product). What I really need is some way to detect that all the slots for a specified filter are completely full.
It would be super cool if we can get a "filtered item slot of x type is full". Would make my life so much easier with these builds I love to do. It can also maybe only appear when you're modifying a train that uses filtered wagon slots, as to not add too much confusion for new players learning trains.