My Trains (Alpha) deprecated

by kiasyn

A simple, easy-to-use, no circuits required train scheduler for people who just want their trains to work.

Content
4 years ago
0.17
6
Trains
Owner:
kiasyn
Source:
https://github.com/kiasyn/SamTrain
Homepage:
N/A
License:
MIT
Created:
4 years ago
Latest Version:
0.1.8 (4 years ago)
Factorio version:
0.17
Downloaded by:
6 users

A simple, easy-to-use, no circuits required train scheduler for people who just want their trains to work.

Adds 3 different train stops to the game:
Depot: a place for your trains to fuel and wait for their next task

Supplier: a stop that has and can supply a resource

Consumer: a stop that wants a resource

How to use

  • Research Sam's Trains
  • Create one or more 'Train Stop Depots'.
  • Send a train to your Depot. The train will now be automatically managed by the scheduler.
  • Create a Train Stop Consumer. Specify the resource it wants and enable it.
  • Create a Train Stop Supplier. Specify the resource it has and enable it.
  • Your trains should now automatically be dispatched from your depot to your supplier, then to your consumer, then back to the depot.

Features

  • Automatically schedules and reuses your trains
  • Easily disable / enable your train stops with the scheduler
  • Manual trains are ignored by the scheduler
  • Prioritize some stops over others
  • Set the min and max size train your train stop can handle
  • Trains will not leave depot until they are fully fueled
  • A train will always return to the depot (by name) that you set it to.
  • Trains will automatically balance themselves over consumers/suppliers
  • Trains will visit consumers & suppliers in a round robin order, so every stop will get visited
  • If you send a train with a single resource in it to the depot (eg, iron ore) it will wait until a consumer needs that resource, then be dispatched to that task instead of an empty train
  • Trains will automatically colour themselves based on their destination consumer stop

Limitations

  • Trains will wait until full/empty at each stop, currently there is no extra configuration here.
  • [NO LONGER NECESSARY AS OF 0.1.5] Consumers and suppliers must have unique names. Depots can be named the same.
  • Trains at depot with multiple resources will not be dispatched
  • Can't handle mixed trains (fluid and items)
  • Train stop can only be consumer or supplier. Can't supply sulfuric acid and pick up uranium with a single stop for example.
  • Trains will wait to be fully fueled in each slot. This means you either need to have a single fuel type going into trains, or that each fuel type needs to be delivered by a separate inserter (or the inserter will get blocked trying to deliver a fuel that is already full on the train)
  • [NO LONGER NECESSARY AS OF 0.1.5] Train stop settings are not copied with blueprints due to Factorio limitations. But you can copy settings with shift click. The enabled setting will not be copied by default to give you time to finish setting up your train stop.

Read more

Learn more at https://github.com/kiasyn/SamTrain