Tougher Lightning Storms


Makes Fulgoran lightning storms random in length, more damaging, and able to hit locomotives.

Tweaks
a month ago
2.0 - 2.1
5.05K
Factorio: Space Age Icon Space Age Mod
Environment

g Locomotives

How do people actually protect their locomotives??

I'm thinking you'll need to make a circuit that can detect when lightning has started, or possibly is about to start, and that circuit needs to turn off sections of your train infrastructure that isn't close enough to Lightning Rods. I wonder how you'd do it. Maybe by reading an increase in accumulator charge? Something like:

If Accumulator charge increases, and a train is present in a trainblock defined as outside lightning rod protection range, keep that signal green, to allow the train to leave the exposed train block. If no train is present in the outside train block, turn the signal red, to keep trains from going outside in a storm.

You'd probably want a way of stopping trains before it starts though. I wonder if the storms having a randomized lengths still means the time between storms is relatively similar. You could set a clock signal that counts up to the tick value of just before the storm starts, have all your signals for outside trains turn off and let trains through, and then have them wait until the accumulators stop gaining charge for x seconds, maybe 7 or 8 seconds would be enough.

Interesting problem to solve

Particularly interesting with LTN or Cybersyn, where trains are out doing their own thing and cannot be recalled so easily!

New response