Hacked Splitters deprecated


You've used your ingenuity as an engineer to hack your original splitter design, creating new splitters that perfectly balance transport belt inputs. These hacked splitters require extra circuitry and are best used with single-item belts as they no longer perform the function of their baser models. They unlock when their respective counterparts become available.

Content
6 years ago
0.15
7
Transportation

i Priority Functionality

7 years ago
(updated 7 years ago)

First off, I love this mod :)
I was wondering if it wouldn't be too complicated to add a priority function to the splitters. Similar to toggling overclocking just [Shift + <some key>] to switch between prioritizing Both/Left/Right sides.
I'm not very experienced with lua but looking at the code briefly, it looked like it may be possible by overriding the return from the transport_iter for the output_iter to favor the correct side (2 lanes) of the belt based on the side the user selected. Not sure if this would cause a loss of compression though when some lanes are backed up.

New response