SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Factorio

S

Stringy Train Stops

JBy justarandomgeek

Rename train stations and dispatch trains based on circuit signals

Description

Stringy Train Stops

Uses 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
  • 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-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.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.