This bug is for modders
Here is my step by step
- Prepare a mod how will read the equipment of locos when a train creation is triggered.
you can use this :
OnTrainCreated=function(train)
for _,loco in pairs(train.locomotives.front_movers) do
for _,equipment in pairs(loco.grid.equipment) do
game.player.print(equipment.name)
end
end
for _,loco in pairs(train.locomotives.back_movers) do
for _,equipment in pairs(loco.grid.equipment) do
game.player.print(equipment.name)
end
end
end
end
Add a train, with an equipment (Happy if you use mine, TrainCaller, but I won't be that mad if you use another



Then, remove the train
And add it again
This should trigger the print... however nothing happens. If another locomotive is added, then, it works. And if you check the grid, the equipment is still in.
I am pretty sure it's a bug
THanks
Hermios