Page 1 of 1

Logistic Network to LTN stop filter

Posted: Fri Jun 30, 2017 6:02 am
by Optera
Hooking Logistic Network directly to LTN (Logistic Train Network) stops has some terrible side effects due to how logistic network reads its contents.
1) Logistic network doesn't show items in transit as available potentially causing another delivery in a bot unloading station design.
2) If bots try to pick up more than available the number becomes negative, which is LTN's trigger for requesting this amount.

To combat these effects I put together this signal filter.
2017-06-30 Logistic Filter.jpg
2017-06-30 Logistic Filter.jpg (78.46 KiB) Viewed 2547 times
Green sets the amounts of desired items as usual for LTN with negative sign.
Red (optional) filters signals entirely.

Pro:
Only positive signals not set by in any cc are displayed.
Signals set in green cc are only shown when negative to prevent pickup/delivery circle.

Con:
Unwanted items can potentially underflow into positive (very unlikely)
blueprint

Re: Logistic Network to LTN stop filter

Posted: Thu Aug 03, 2017 7:29 pm
by ssilk
Blueprint only works correct if you have napalm item, which is not standard Factorio.

:)

Re: Logistic Network to LTN stop filter

Posted: Fri Aug 04, 2017 5:17 am
by Optera
ssilk wrote:Blueprint only works correct if you have napalm item, which is not standard Factorio.

:)
I see, instead of skipping unknown signals Factorio skips the whole combinator containing it.
Feels like a bug in Factorio.