train depots


Makes trains go to a depot station if they dont have any other station to go to

Utilities
6 months ago
1.1
235
Trains
Owner:
dogfighter205
Source:
https://github.com/dogfighter3615/fac...
Homepage:
https://github.com/dogfighter3615/fac...
License:
MIT
Created:
6 months ago
Latest Version:
0.2.5 (6 months ago)
Factorio version:
1.1
Downloaded by:
235 users

How to use the mod

Using the mod is not difficult. It should start working without any problems. The mod checks all the stations that exist what they're called and if they are turned on. if it only finds one active station in a train's schedule it will add the depot station to it. once a second train station becomes active again the mod will send the train there and remove the depot from the schedule.
In the GUI that will open when you open a train's gui, you can enable the mod for that train, and select which station it should go to out of the ones that are in the settings.

Settings in the mod

  • Depot Names : the Names of the Depot stations, separated by ",". NOTE: currently only one station name will work, if you add any more than that the mod will break. Work on an update to make use of multiple stations will start once I am reasonably sure the mod is stable.
  • Time Between Checks : the time in ticks that's in between checks if a train should depart from a station. lower values may cause lag, but higher values make the trains wait longer at the depot station.

After updating it might be needed to repopulate some of the mods data, I recommend to run the /remake_train_table command to make sure all data is correct.
If you encounter a bug please post it in the discussions tab so i can work on fixing it!