0.15.2[Twinsen] Disabled Station not sending train along

Bugs that are actually features.
Post Reply
Jelmergu
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Mon Apr 04, 2016 8:49 am
Contact:

0.15.2[Twinsen] Disabled Station not sending train along

Post by Jelmergu »

It seems that a station that gets disabled by signal no longer sends a signal to a train.

The train in the image has the same leave condition as the turn off condition of the station. The train does not leave the station when the condition is met
image
Attachments
Lazy Bastard.zip
(20.89 MiB) Downloaded 78 times

Loewchen
Global Moderator
Global Moderator
Posts: 8317
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: 0.15.2 Disabled Station not sending train along

Post by Loewchen »

Just FYI, if you deactivate a station with a train waiting it will leave the station even if the leave conditions are not met.

deltatag
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Jan 14, 2016 11:44 pm
Contact:

Re: 0.15.2 Disabled Station not sending train along

Post by deltatag »

Loewchen wrote:Just FYI, if you deactivate a station with a train waiting it will leave the station even if the leave conditions are not met.
This is not true in my test. I have a train waiting at a station for a circuit condition, then deactivate the station and then send the circuit condition, at which point it leaves the station not before.
I also tested with normal timer count down.

tag
Burner Inserter
Burner Inserter
Posts: 10
Joined: Wed Jun 08, 2016 1:12 pm
Contact:

Re: 0.15.2 Disabled Station not sending train along

Post by tag »

I see the same behavior: Trains wait until their leave condition is met.

I really like this behavior because it is extremely useful for oil/mining outposts.
- For example, you can enable a station if "oil barrels >= 200". A train can stop, pick up all oil barrels, and leave when its inventory is full or after inactivity. This is straightforward.
- If a train would leave immediately if only 199 oil barrels are left, you'd need to build more circuit logic to keep the train at the station until all barrels have been picked up.

Perhaps it makes sense to add "Station Disabled" to the list of leave conditions for trains.
Then you can decide if a train should leave immediately or not.

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: 0.15.2 Disabled Station not sending train along

Post by Twinsen »

Your condition is incorrect.

The condition says: Wait until: G != 1
G is 1 and the train is waiting for the condition correctly.
Change the train condition to G=1 to make it work as intended gameplay wise.

Disabling the station does not send the train away and continues to check conditions, for the reasons tag mentioned above

Post Reply

Return to “Not a bug”