Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/primeeagle/pe-stringytrainstopredux

Factorio mod to rename train stations and dispatch trains based on circuit signals.
https://github.com/primeeagle/pe-stringytrainstopredux

factorio factorio-mod game game-mod mod train

Last synced: 4 days ago
JSON representation

Factorio mod to rename train stations and dispatch trains based on circuit signals.

Awesome Lists containing this project

README

        

## Stringy Train Stops

A Factorio mod, using signalstrings to rename train stops, and send trains to them.

To rename a stop, send the string along with signal-stopname.
To send a train to a stop, send the string along with signal-goto.

To program multiple stops, send a series of stops as:

* signal-schedule = 1-based index in schedule
* string of destination stop name *OR* the Schedule Rail signal and X&Y coordinates of a rail to go to
* wait condition: (Multiple wait conditions will be composed with AND)
* signal-wait-time = time to wait
* signal-wait-inactivitiy = time to wait
* signal-wait-empty
* signal-wait-full
* signal-wait-robots
* signal-wait-circuit - will wait for signal-black
* signal-wait-passenger - positive values will wait for a passenger, negative will wait for the passenger to get out.

Then send signal-schedule=-1 to send the train to the first stop in the schedule.