access trainstop for waiting train

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

access trainstop for waiting train

Post by Choumiko »

Having something like LuaTrain.station which contains the trainstop a train is currently waiting at would be really helpfull.
Right now it can get really messy if the train has frontmovers and backmovers and is toggled between auto- and manualmode (for whatver reason) while waiting at a station.
LuaTrain should be nil if the train is not at a station/stop (trainstop or station? :D )
Rseding91
Factorio Staff
Factorio Staff
Posts: 15997
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: access trainstop for waiting train

Post by Rseding91 »

Added for 0.13.14.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”