Battery-Electric Train

by catweax

Electric trains, but UPS-friendly. Provides battery-powered locomotives, reusable battery packs and charging facilities. Balanced for vanilla gameplay by default, but trains can be as fast as you want.

Content
5 months ago
1.1 - 2.0
17.2K
Trains

b Refuelling interrupt rule

4 months ago
(updated 4 months ago)

I've tried to create a refueling interrupt rule but have thus far been unable to make one reliably work.
I've tried setting a single rule for any locomotive to go get refueled if it has less than one of any fuel type - no dice. If I set a series of four rules, one for each battery type, and set them all to OR, the train will go to the station, but then will never leave. I have the departure condition set to any of the four kinds of batteries to be greater than 1.

What am I missing?

4 months ago

I haven’t actually tried the new train interrupt system yet, so I can only guess.

If you set the four interrupt rules to OR and only have one type of fuel inside, the interrupt condition will always be true and I guess that makes the train stay at the refueling station. Have you tried setting the four interrupt rules to AND? The departure conditions have to be set to OR so that any one battery type is acceptable for leaving.

3 months ago

i do not know if it is the case in this situation, but it may be that the fuel 'in progress' is counted by the condition - i know this is the case with the circuit conditions for nuclear reactors; perhaps try setting the interrupt to "fuel < 2" rather than "fuel < 1" and see if it works then

New response