[Mod Request] Extra Combinator Functionality

This is the place to request new mods or give ideas about what could be done.
nathanpringle
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Jul 17, 2025 2:46 am
Contact:

[Mod Request] Extra Combinator Functionality

Post by nathanpringle »

Hi all,

One of the banes of my existence is trying to get the maximum and minimum item count from a circuit. I was wondering if a mod existed with this functionality, or how difficult it would be to make one.

Either a new combinator or extend an existing one, where you could set the mode to Max or Min. In the given signals, it would output the value corresponding to that setting. For example, if the combinator given a signal of 500 iron plates, 200 copper plates, and 100 stone, it would output 500 iron plates if set to max, and 100 copper plates if set to min. If there is a tie, it would output both.
eugenekay
Filter Inserter
Filter Inserter
Posts: 575
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: [Mod Request] Extra Combinator Functionality

Post by eugenekay »

Feature exists: Select Input Function of the Selector Combinator does this, with no additional Signal logic required! Switch it between "Descending" and "Ascending" mode to get the "Max" or "Min" value.
07-17-2025, 10-54-00.png
07-17-2025, 10-54-00.png (689.06 KiB) Viewed 73 times


In the default Configuration, the Index value of "0" (Zero) corresponds to the first/last Value, depending upon how it is Sorted.

nathanpringle wrote: Thu Jul 17, 2025 2:52 amFor example, if the combinator given a signal of 500 iron plates, 200 copper plates, and 100 stone, it would output 500 iron plates if set to max, and 100 copper plates if set to min. If there is a tie, it would output both.
That.... is not quite how Min() works. :lol:


Good Luck!
nathanpringle
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Jul 17, 2025 2:46 am
Contact:

Re: [Mod Request] Extra Combinator Functionality

Post by nathanpringle »

... I am a fool. Both for not realizing that's how that could be used, and for the typo :lol:

Thank you for your help!
Post Reply

Return to “Ideas and Requests For Mods”