Page 1 of 1

[2.0.72] Bots getting confused trying to build curved rail from mixed HP rail

Posted: Thu Dec 11, 2025 6:43 am
by naahuc
We were talking about bot building edge cases and I remembered a scenario where curved rails can confuse bots when the exact amount of rails are present, but have different HP stacks.

What did you do?
  1. Load the attached save
  2. Pick up the contents of either of the wooden chests (only one)
  3. enable the personal roboport
What happened?
The personal bots will cycle going forever into and out of the player trying to build with different HP rails, giving up and trying again over and over.

It's a 3 rail curved rail segment, it causes issues when split in 1-2 or 2-1 damaged/full hp rail.
If you have either 3 damaged or 3 full hp rails it will build correctly.

What did you expect to happen instead? It might be obvious to you, but do it anyway!
I would have expected for the curved rail segment to be built with the average of the hp of all 3 constituent rails

Re: [2.0.72] Bots getting confused trying to build curved rail from mixed HP rail

Posted: Thu Dec 11, 2025 1:15 pm
by Loewchen