I'm playing with it in my cheaty-sandbox world right now; ideally I want to keep the carriage full, pulling off stacks of empties and replacing them with stacks of full, so the total number of barrels, empty and full, at a given outpost remains constant. The "half" thing was just me thinking about the upper limit; atm in my proper world there are only two outposts, with about the same production, so assuming the car arrives at the first full of empties, it should never take more than half of them, but in practice I think this is a better approach, taking only as many empties as I have full to put on there. If somehow one outpost actually can fill more than half the train, then I shouldn't be limiting that, just adjusting train schedules or adding more trains. Not actually certain yet if I'm even going to require combinators for this or not, it's possible a clever solution with just smart chests+inserters is possible that I've never thought of before, but I think for it to be perfect (namely, take exactly as many empties as it places fulls, and the train never leaving station with less than a full stack in any slot, whether that's full or empty barrels) is gonna require some logic.
View all comments
Show parent comment
1
u/GopherAtl Jul 22 '15
I'm playing with it in my cheaty-sandbox world right now; ideally I want to keep the carriage full, pulling off stacks of empties and replacing them with stacks of full, so the total number of barrels, empty and full, at a given outpost remains constant. The "half" thing was just me thinking about the upper limit; atm in my proper world there are only two outposts, with about the same production, so assuming the car arrives at the first full of empties, it should never take more than half of them, but in practice I think this is a better approach, taking only as many empties as I have full to put on there. If somehow one outpost actually can fill more than half the train, then I shouldn't be limiting that, just adjusting train schedules or adding more trains. Not actually certain yet if I'm even going to require combinators for this or not, it's possible a clever solution with just smart chests+inserters is possible that I've never thought of before, but I think for it to be perfect (namely, take exactly as many empties as it places fulls, and the train never leaving station with less than a full stack in any slot, whether that's full or empty barrels) is gonna require some logic.