Code: Select all
data.raw["straight-rail"]["straight-rail"].fast_replaceable_group = "rail"
data.raw["curved-rail"]["curved-rail"].fast_replaceable_group = "rail"
data.raw["straight-rail"]["new-straight-rail"].fast_replaceable_group = "rail"
data.raw["curved-rail"]["new-curved-rail"].fast_replaceable_group = "rail"
The even weirder part is that I can't actually fast replace the two different rail types with each other by hand, only by upgrade planner. Is this supposed to happen? This problem doesn't exist when building with bots, so I'm thinking it might be an edge case in rail construction?
Ultimately, all I want is for the rails to be replaceable with the Upgrade Planner. Is there another way to do this that doesn't break rail building?