data.lua
Code: Select all
local locomotive = data.raw["locomotive"]["locomotive"]
locomotive.max_health = 0.0001
locomotive.weight = 0.0001
local cargo = data.raw["cargo-wagon"]["cargo-wagon"]
cargo.max_health = 0.0001
cargo.weight = 0.0001
fluid = data.raw["fluid-wagon"]["fluid-wagon"]
fluid.max_health = 0.0001
fluid.weight = 0.0001
I've attached the save file, which is simply a set of trains moving back and forth. This file generates the crash very consistently as soon as it is opened. In other files, the crash doesnt happen immediately and I need to have the train move by ctrl clicking on the train UI.