https://mods.factorio.com/mod/nice-try-train prevents you from dying when you get hit by a train but puts you at 1hp. This mod generates a lot of markers since it thinks you die over and over again if you dont move away from the front of the train directly