Original Post — Direct link

I'm working on a small mod that modifies the train schedules a bit. I need to access all the trains on the map and update their schedules. I see that there is a LuaGameScript.get_train_stops(opts) function but I don't see one to get all the trains.

Thanks!

External link →