[0.16.51] Trains instant brake upon fuel depletion

This subforum contains all the issues which we already resolved.
Post Reply
Former Staff
Former Staff
Posts: 90
Joined: Sat Mar 03, 2018 12:07 pm

[0.16.51] Trains instant brake upon fuel depletion

Post by Allaizn »

How to reproduce:
1. Load up attached save file:
1000x1000 preset.zip
(1.64 MiB) Downloaded 119 times
2. Notice that within one turn of the rail loop, the current nuclear fuel depletes and speed instantly drops to 259.2 kmh
3. Notice that this happens even if further nuclear fuel is in the fuel inventory

The game is slowed down to 0.1 by commands for better visualization

What I expect to happen:
Acceleration should stop for at most a single tick, ideally none at all.
If the remaining fuel value is not enough to last the full tick, the next fuel should be consumed.
I think it's acceptable if the new fuel overwrites the acceleration and topspeed.

In summary, only acceleration should obey the top speed limit.

Edit: I found this bug while designing a dense rail layout, using my recently published dense loader (no instant brake yet!). This bug is catastophic for any such design, since a train that slows down this hard upon the basically unpredicatable fuel consumption is immediately obliterated :(
Log for completeness
(4.21 KiB) Downloaded 131 times

Factorio Staff
Factorio Staff
Posts: 12277
Joined: Wed Jun 11, 2014 5:23 am

Re: [0.16.51] Trains instant brake upon fuel depletion

Post by Rseding91 »

Thanks for the report. It's now fixed for 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”