Math Co-Processors

Mod that adds a new combinator for math instructions like maximum, minimum, random,...
3 days ago
0.14 - 0.17
Owner: Cobaltur
Source: N/A
Homepage: N/A
License: MIT
Created: 3 years ago
Latest Version: 0.17.5 (3 days ago)
Factorio version: 0.14 - 0.17
Downloaded: 1424 times

The mod adds a new combinators for
math instructions e.g. maximum, minimum, random and
signal sets operations e.g. difference & intersection.

The coprocessor read all red or green (not both) signals that are available at the output connector circuit.


  • Math.max - returns the first signal with the highest count.
  • Math.min - returns the first signal with the lowest count.
  • Math.rand - returns randomly one of the signals
  • Math.median - return the median value on virtual signal M
  • Math.average - return the average value on virtual signal A
  • Math.count - return the number of signals on virtual signal N
  • Math.sum - return the sum of all signal values on virtual signal S
  • Set.difference : symetric difference, signals which are in red AND green will be filtered
  • Set.intersection: result set contain signals which are on red AND green circuit - values are added.

Note: Keep in mind signals with value=0 are not on the circuit - therefore not part of the array - so average and median may have not the expected results.
(If you need all signals on a tie. Use the value within a combinator and its EACH function)


At the moment every 60 ticks (once per second)


The coprocessors looks at the opposite side of his output connectors for a decider- or arithmetic combinator or an electric pole. It must be really close and the direction is important.

blueprint sample 0.17.4

Inspired by