Automatic Train Refueler


Manages automatic train refueling.

Tweaks
1 year, 15 days ago
2.0
2.35K
Trains

g What does the mod add?

1 year, 1 month ago

Refueling seems easy to do with vanilla interrupts. What does the mod add?

Also, I want to note that you won't be able to edit the schedule if the train is in a group. Also, if any interrupts were set for the train, train.schedule = current_schedule will erase those interrupts.

1 year, 1 month ago
(updated 1 year, 1 month ago)

Try running one of the schedulers that manage your train schedule. If you make programmatic changes to train schedules, all interrupts are deleted (there currently is no API to retrieve / manage those).

If you use standard trains with manually managed schedules and interrupts, you don't need this. It is a programmatic solution for a world without interrupts.

1 year, 1 month ago

(the other answer is obviously "I needed something like this in a large save porting forward from 1.1". As it took maybe two hours to put this together based on the old 1.1 refueler, it was worth the effort for me. )

New response