
Prototype Universal Train
Read the description for an explanation.
I wanted to make a universal delivery/trash wagon. This allows my trains to supply and return with trash in the same wagon. The whole contraption is controlled with combinators. As the end user, all you need to do is set your requester chest contents, and then specify how much or each item should be loaded by typing in values in the constant combinator. The train arrival triggers a 1 tick pulse to load the contents of the constant combinator, minus the train's inventory into memory. Then each filter inserter tracks the amount of items moved and edits the memory cell until all values are at zero, or they run out of items to move.
The unloading inserter side has its own memory cell which loads up the contents of the train and subtracts the signal of the constant combinator. 72 is subtracted from each constant combinator signal to prevent too many items from being removed unintentionally.
Other Videos By Michael Lundgren (GoldenShadow)
Other Statistics
Factorio Statistics For Michael Lundgren (GoldenShadow)
Michael Lundgren (GoldenShadow) presently has 2,529,381 views for Factorio across 28 videos, and less than an hour worth of Factorio videos were uploaded to his channel. This is less than 0.74% of the total video content that Michael Lundgren (GoldenShadow) has uploaded to YouTube.