Space Exploration LTN integration

by harag

Allows LTN to make deliveries through SE's space elevator

Content
1 year, 10 months ago
1.1
25.3K
Trains
Owner:
harag
Source:
https://github.com/harag-on-steam/se-ltn-glue
Homepage:
N/A
License:
CC BY-SA 4.0
Created:
1 year, 10 months ago
Latest Version:
0.6.0 (1 year, 10 months ago)
Factorio version:
1.1
Downloaded by:
25.3K users

Use this if you already have a LTN train network in your SE savegame. Otherwise it might be worth taking a look at Cybersyn which is an alternative to LTN that has SE integration built-in and also has some other nice additions.

To use this mod simply open an elevator and connect it to LTN with the switch on the top of the elevator window. As soon as you do the LTN networks on the ground and in orbit will be merged and deliveries will be scheduled between them. This uses the new LTN API introduced in version 1.18.0.

Using LTN through SE's elevators has a few constraints:

  • Trains are always sourced from the same surface as the provider station. Effectively you need depots both on the ground and in orbit and trains will return to where their depot was.
  • The setting "Delivery completes at requester" must be disabled because it clears a train's schedule as soon as the train leaves the requester. That would stop the train from returning to the original surface and thus create an imbalance in the train pools.
  • The network-ID of an elevator will act as an additional mask when deciding which deliveries can go through it. If you don't use network-IDs, you can leave the elevator's ID at the default of -1 which simply allows all network-IDs to go through.
  • Elevator stops don't receive temporary stops like logistic stops do. This means Factorio's train pathfinder is free to drive to the closest elevator with a matching name. If you intend to assign different LTN network-IDs to the elevators on a surface it's best to give those elevators unique names via the elevator UI.