LuaTrain.max_speed

Post Reply
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

LuaTrain.max_speed

Post by Choumiko »

LuaTrain.max_speed: Maximum speed the train can achieve (ignore train composition, e.g. a train consisting of 1 loco and 100000 wagons would still return the minimum of the prototypes speed property)
Not sure if it should include the bonus from the currently burned fuel.

I can live without it if viewtopic.php?f=28&t=47087&p=280356#p280356 gets added

Bilka
Factorio Staff
Factorio Staff
Posts: 3129
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaTrain.max_speed

Post by Bilka »

Added for 0.17.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Implemented mod requests”