In other languages: Česky Deutsch Français Русский 中文

Arithmetic combinator: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(New navigation organization)
Line 41: Line 41:
*[[Combinator Tutorial]]
*[[Combinator Tutorial]]
*[[Circuit network]]
*[[Circuit network]]
*[[Circuit-network_Cookbook]]


{{LogisticsNav}}
{{LogisticsNav}}

Revision as of 15:31, 27 November 2016

Arithmetic combinator/infobox


The arithmetic combinator is part of the circuit network and one of three types of combinators available in the game. It is used to perform simple mathematical operations on signals, capable of addition, subtraction, multiplication, or division. The arithmetic combinator accepts two input connections (red and green wires), and sends its output to both output connections. The input wires connect to the nubs on the left side of the above sprite, while the output is on the opposite side.

Function

The internal logic process has three steps:

1) All input signals on the red and green wires are summed within the combinator.

2) The specified operation (+, -, *, or /) is performed on the selected signal(s).

3) The result of this operation is output as the selected output signal.

The arithmetic combinator can handle special signals. Notice that when using division as operation the result is truncated.

History

  • 0.13.0:
    • Connected wires are highlighted when hovering over a combinator connected to the circuit network.
    • Combinators show input and output in alt mode.
    • More virtual signals for combinators.
    • Constant combinator can be rotated.
    • Decider combinator "input count" option makes the combinator copy the count of the specified output signal from the input signals, instead of copying the count from the condition.
    • New combinator graphics.
  • 0.12.5:
    • Combinators now emit light.
  • 0.12.2:
    • Combinators no longer turn off when no wires are connected.

See Also