Splatter Guard

Stops you being splattered by trains
6 days ago
0.16
491
Owner: muppet9010
Source: muppet9010/Factorio-Splatter-Guard
Homepage: https://github.com/muppet9010/Factori...
License: GNU LGPLv3
Created: 2 months ago
Latest Version: 0.1.3 (6 days ago)
Factorio version: 0.16
Downloaded: 491 times

Stops you being splattered by trains.

Preemtive option will constantly check if you are in imminent danger of a train hitting you and teleport you a short distance away to a safe spot before you are hit. The Preemtive option enables the Reactive behaviour as a fall back should the mod fail to detect a danger.
Reactive (Only) option will revert any personal damage done to you by a train and teleport you a short distance away to a safe spot. The train will damage your shields and may be slowed down or damaged itself by the collision.
When a player is teleported they will be held in place for a second to avoid them running back into a train. Takes people a moment to let go of movement keys. A purple smoke effect is used when teleported to highlight the avoided squashing.

Should be fully compatible with all other mods. If another mod makes you invincible you may not jump.

If the Preemtive option is enabled there will be a small UPS cost per player as it has to continuously look for dangers in advance.

Currently if you are not on full health and hit by a train for a lot of damage you may be returned to full health instantly. Shield damage will not be repaired.