Page 1 of 1

[2.0.6] Rolling stock ghosts placed off rails when missing 'placeable-off-grid' flag

Posted: Fri Oct 18, 2024 10:34 pm
by robot256
I submitted an F10 about this and it appears to be fixed for locomotives now. Cargo wagons, fluid wagons, and artillery wagons still exhibit the bugged behavior.

Reproduction:
  1. Load the attached demo mod and open the attached save (or start a new one).
  2. Observe that the blueprint in the hotbar has two locomotives and six wagons that all appear to be correctly positioned on the rails.
  3. Place the blueprint. Observe that the locomotives are placed correctly, but the six wagon ghosts are placed 1 tile south of the rail center line.
  4. Turn on the personal roboport. Observe the robots stuck trying to place the wagons not on the rails.
I assume the solution is the same one that was applied in the case of the locomotive.
TrainNotOnGrid.png
TrainNotOnGrid.png (4.02 MiB) Viewed 443 times

Re: [2.0.6] Rolling stock ghosts placed off rails when missing 'placeable-off-grid' flag

Posted: Thu Dec 12, 2024 3:46 pm
by Rseding91
Thanks for the report however I've decided we will not be doing anything about this. Rolling stock were designed to be placable off grid and if when that flag is removed things don't work right we can always force the value to be true.

Re: [2.0.6] Rolling stock ghosts placed off rails when missing 'placeable-off-grid' flag

Posted: Fri Dec 13, 2024 5:12 am
by robot256
👍 Forcing the value to be true would be my preferred solution as well. Or say "don't do that" in the docs.