Blacklist provider from certain requester stations?

Adds new train stops forming a highly configurable logistic network.

Moderator: Optera

Post Reply
iridium83
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Jul 18, 2019 2:18 am
Contact:

Blacklist provider from certain requester stations?

Post by iridium83 »

As title says, i'm doing a bobs/angles run and have some items coming from multiple sources but is there a way to blacklist a specific provider to a specific requester station.

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Blacklist provider from certain requester stations?

Post by Optera »

Use Network ID.

mrvn
Smart Inserter
Smart Inserter
Posts: 5704
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Blacklist provider from certain requester stations?

Post by mrvn »

To go into more detail:

In normal stations and depots you don't set the network ID and it defaults to 0xFFFFFFFF (all networks). Then in the provider station you want to blacklist set the network ID to 1 and in the requester station you want it blacklisted set the network ID to 2. Since 1 and 2 share no common bits LTN will never send a train to load at the first and unload at the second station. But all other stations (having 0xFFFFFFFF by default) are still fair game.

Note: You can use any number for the two stations that don't have any common bits set in binary notation. But start with a power of 2 (1, 2, 4, 8, 16, 32, 64, ...) and only use combinations of those when you need more complex setups than just a blacklist.

Post Reply

Return to “Logistic Train Network”