Modifying contents of logistic network
Posted: Tue Jan 27, 2026 4:34 am
Did a search, didn't find anything. I have a feeling what I want isn't possible, but....
What I want:
How I would like it to work, but doesn't:
Connect a combinator to a roboport with [signal] set to 'value'.
The logistic network contents are modified by 'value' in normal circuit fashion.
Example:
I want a minimum of 1000 x [iron plate] available in the network.
Connect a constant combinator to a roboport, the combinator configured with [iron plate], -1000.
I want the count of [iron plate] in the logistics network to be reduced by 1000. Reducing it to a negative value if I have less than that amount available.
I connect my Foundry to the logistic network and set it's enable to
'[iron plate] < 0'.
I want to bypass the whole,
Mucking about with the networks contents would probably wind up biting me on the butocks, but I want to give it try.
What I want:
- Connect a device to logistic network.
- Enable device based on content of logistics network (duh), but I wish my enable condition to be
'[signal] < 0'.
How I would like it to work, but doesn't:
Connect a combinator to a roboport with [signal] set to 'value'.
The logistic network contents are modified by 'value' in normal circuit fashion.
Example:
I want a minimum of 1000 x [iron plate] available in the network.
Connect a constant combinator to a roboport, the combinator configured with [iron plate], -1000.
I want the count of [iron plate] in the logistics network to be reduced by 1000. Reducing it to a negative value if I have less than that amount available.
I connect my Foundry to the logistic network and set it's enable to
'[iron plate] < 0'.
I want to bypass the whole,
- Connect a constant combinator to an arithmetic combinator with a (example) 'red wire'.
- Configure the constant combinator with list of [items] and desired count.
- Connect a roboport, set to 'read ... contents', to the same arithmetic combinator with a 'green wire' (the other color).
- Subtract 'Each' green from 'Each' red, output 'Each', and connect the output to all your production devices (note that at this point the wire color is agnostic) with enable set to the appropriate '[item] < 0'.
Mucking about with the networks contents would probably wind up biting me on the butocks, but I want to give it try.