About Stack Combinator
From Factorio Mod PortalAn arithmetic combinator that performs stack size multiplication/division/rounding on item signals. Features signal inversion and output display, compatible with Picker Dollies and Nullius.
Deprecated
Now that Factorio 2.0 has Selector Combinator with signal stacking functionality, this mod is officially retired. I will leave it up for a while as enough people are still playing 1.1., but there will be no more updates or bugfixes of any kind.
Stack Combinator
A mod for Factorio that adds a new type of circuit network combinator to research and craft: a stack combinator. This combinator modifies each item signal it receives according to that item's stack size and selected operation. For example, if the stack size for Coal is 50, and you send a Coal signal with value 2 and * (multiplication) selected, a stack combinator will output Coal×100 signal.
Features
- Item signal stacking. Each item signal sent to the stack combinator input is output with its amount modified according to that item's stack size, depending on the selected operation:
- Multiplication.
- Division with result rounding up (away from zero) or down (towards zero).
- Rounding to full stack: up (away from zero), down (towards zero) or both (whichever is closer).
- Signal inversion. Each combinator can also be configured to invert input signals (green, red or both), which treats positive input signal amounts as negative and vice-versa.
- Signal merge precedence: You can choose per combinator whether to merge input signals (before applying stack calculations), or apply stacking to each wire separately (so that only the resulting output signals are merged).
- Wagon stack mode: Each combinator can be toggled to use train wagon capacity instead of stack size, allowing for more convenient train station signal management in mods with multiple wagon tiers and/or stops of different sizes.
- Input and output signal display. Opening the stack combinator shows all input and output signals, even if the combinator's output isn't connected to anything. The display includes "raw" input and output signals — what stack combinator is receiving and sending (displayed in silver), and additional "network" output signals — what the final signals are on the output wire, taking into account any other signal sources connected to those wires.
- Non-item signals: Fluid and virtual signals do not have stacks, so they are passed through as-is. This can be configured in map settings to apply inversion (if any) instead, or to drop non-item signals completely.
Compatibility & balancing
- Works with blueprints.
- Shouldn't break anything. Stack combinator is based on the arithmetic and constant combinators, and does not involve any other entities or game objects.
- Other mods:
- Works in Nullius.
- Can be moved around and fully rotated with Picker Dollies.
- Fits with mods that change circuit wire colors, such as Colorblind Circuit Network and Almost Invisible Electric Wires.
- Research costs are calculated dynamically based on circuit network technology costs, so it should fit in naturally with balance changes introduced by other mods.
- Crafting costs are an arithmetic combinator and a repair pack (copper cable in Nullius).
Limitations & performance
- Due to the way game works, the maximum amount of output signals is initially limited to 40 — twice the capacity of a vanilla constant combinator, meaning one StaCo can process signals from two full constant combinators. You can increase the limit in startup settings, but it may affect performance, depending on how many StaCos you have.
- If a static combinator receives more signals than it can output, it won't output anything and raise an alert (so you can see on the map which combinator is having the problem and where).
- Unfortunately due to how Factorio is built, the only way to achieve this functionality is to manually modify circuit signals in a mod script, which can impact game performance. There are two map settings to let you mitigate this, at the cost of update speeds:
- Update delay determines how frequently updates happen. The game runs 60 ticks per second, and you can use this setting to slow down stack combinator updates so that they don't happen on every tick, but, say, every 6 (10 times per second; this is the default value).
- Update limit controls how many stack combinators are processed in each update.
As an example, with the default values of 6 (delay) and 100 (limit), 1000 combinators would be updated over the course of 1 second: first 100 of the combinators would get updated, then nothing for 0.1 seconds, then the next 100 and so on. As a vague benchmark, with an Intel i5-8400 CPU, on a completely empty map with nothing but a thousand stack combinators on it, processing each update takes about half of a millisecond.
Discussion & bug reports
- The main discussion and bug report place is the mod's discussion page.
- There's also a thread on the forums.
- Bugs can be reported directly on GitHub, but other users are less likely to go there.
- A Discord exists as well.
Acknowledgements
Highlights
From source dataGame versions
Built for Factorio 1.1.
Footprint
Rated a light load on a server.
License
Published under CreativeCommonds BY-NC 4.0.
Stack Combinator on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 1.6.2, released 2024-06-10
Run Stack Combinator on a Factorio server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportFactorio Mod Portal lists Stack Combinator as required on the server. Check its Factorio Mod Portal page to see whether players need it too.
Compatibility
- Game
- Factorio
- Runs on
- Serverrequired on the server
- Game versions
- 1.1
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
- ✓Authormodo_lv, as published on Factorio Mod Portal
- ✓LicenseCreativeCommonds BY-NC 4.0Free
