OnTrainReachedStation event
OnTrainReachedStation event
With accessors into the LuaTrain of the train and the LuaEntity of the station.
Re: OnTrainReachedStation event
It's already there, on_train_changed_state when the new state is wait_station.
Re: OnTrainReachedStation event
feels stupid
Re: OnTrainReachedStation event
Don't. Two heads better because stuff like this.