When driving a train, and crashing into gates owned by another force, the damage that occurs is odd. Only one of the two doors will take damage, and when repeated rams break the first one, only then will the second one take damage. When a train is rammed into the final gate to break it, the train is not even slowed down by ramming through the door.
Steps to recreate:
In a new game, place some train tracks, with two gates side by side on the rails to form a rail gate.
In the console, type /c game.create_force("Test")
then type /c game.player.force = game.forces["Test"]
Then, place a train on the train track, and provide it some fuel.
Repeatedly ram the train into the doors, and observe the behaviour.
[0.15.4] Odd breakage of train gates
Re: [0.15.4] Odd breakage of train gates
This is how train damage works: the train spends all of its movement energy to damage something it's hitting - the first gate it encounters. If it destroyed it it doesn't get slowed. If it doesn't, it can't move.
Because it doesn't destroy the first gate it doesn't touch the 2nd one because it spent all of the movement energy damaging the first gate.
Because it doesn't destroy the first gate it doesn't touch the 2nd one because it spent all of the movement energy damaging the first gate.
If you want to get ahold of me I'm almost always on Discord.