This mod allows trains with low fuel to automatically enter the fuel stop to replenish fuel.
Mods introducing new content into the game.
Trains are great, but what if they could do even more?
60 fps with the old version, I put your mod a day I am a 30 fps, when I remove the stations fuel stop, I have a new 60 fps!
I work on a solution
Scanning trains every 15 ticks looks to me like a bit of an overkill. Wouldn't it be sufficient to hook on the "train arrives a station" event? At least this is how the fat controller does it, if I am not mistaken.
What makes you think that? I scan the trains every 300 ticks. It would be possible to do the query not every 5s but maybe every 30s.