Detect Train state Destinaltion full

Place to get help with not working mods / modding interface.
Post Reply
hreintke
Fast Inserter
Fast Inserter
Posts: 115
Joined: Mon Sep 04, 2017 6:52 pm
Contact:

Detect Train state Destinaltion full

Post by hreintke »

Hi,

As I see it now, when a train cannot go to a station due to train limit, the status of a train switches to "defines.train_state.no_path"
Is there a way to detect the difference between "no path" and "destination full" in a mod ?

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2244
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Detect Train state Destinaltion full

Post by boskid »

1.1.7:

Code: Select all

- Added defines.train_state.destination_full.

hreintke
Fast Inserter
Fast Inserter
Posts: 115
Joined: Mon Sep 04, 2017 6:52 pm
Contact:

Re: Detect Train state Destinaltion full

Post by hreintke »

Thanks.

Glad I did not overlook the obvious

Post Reply

Return to “Modding help”