Read provided items in LTN network?

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1615
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Read provided items in LTN network?

Post 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.

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2636
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: Read provided items in LTN network?

Post 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.
Image

Transport Belt Repair Man

View unread Posts

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1615
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Read provided items in LTN network?

Post 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.

Post Reply

Return to “Logistic Train Network”