trains
Inspect Factorio schedules and carriages, then update one specified locomotive ID, manual mode, or station destination when requested.
Instructions
Inspect trains, schedules and carriages; modify one explicit train ID when requested.
schedule uses Factorio's TrainSchedule structure. Groups and interrupts are available through get_schedule() in the advanced Lua tool; a basic schedule is a separate interface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surface | No | ||
| schedule | No | ||
| train_id | No | ||
| manual_mode | No | ||
| go_to_station | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |