Page 1 of 1

Read provided items in LTN network?

Posted: Wed Feb 28, 2018 3:30 pm
by jodokus31
Sorry, in advance, if this question came up already, but I didn't find it...

Is there a way to read the amount of items, which are currently provided through LTN
f.e. per Circuit Network, maybe separated by network ids.

The idea is, that it would be informative to know, what exactly is provided. Just like the bot logistic network overview.

And it could be used as condition for something
examples:
- if I have more than 100000 empty barrels, I request them back to a central location to avoid overflow in the network, while producing more and more. (as a sidenote: I know that the barrel producing provider should have a lower provider prio than the provider of used empty barrels)
- if I have more than 200000 iron ore, then activate concrete production.
- etc.

Re: Read provided items in LTN network?

Posted: Wed Feb 28, 2018 4:39 pm
by steinio
I solved it with an arithmetic combinator with ore * 1 from the ltn station on a universal bus (red/green wires) on the main power grid.

Re: Read provided items in LTN network?

Posted: Wed Feb 28, 2018 10:28 pm
by jodokus31
steinio wrote:I solved it with an arithmetic combinator with ore * 1 from the ltn station on a universal bus (red/green wires) on the main power grid.
Yes, thats an easy method, to link up everything via wires and ensure, that its only one way and not linked to the input of the stations.

My thought was rather, if the infos could be read somehow from the global LTN data, which keep track of what is provided. But it seems not.
Maybe an idea for an extension mod.

Anyway, this mod is truly awesome already. Big thanks.