The current range for looking for new gathering targets or foundations to build is hard-coded to `64`.
A "problem" with that is that sometimes units don't gather targets while it looks like they should be in range (because the player does not know the `64` only the vision range, although the latter also only empirically).), see #5657. It also means that the value cannot be modded easily.
This patch sets the vision range as the auto-gather/-build range. It could also be the `Math.max()` of the vision and `64` to ensure that low LOS entities still auto-gather/-build something that is visible by the player but beyond its own vision.defines the auto-gather/-build rates in the templates of their respective components, However, that smells like we could then justso that they can be tweaked more easily.
The increaseing of the range to ~90 m and save ourselves a function call to `cmpVision`can be done in a seperate patch.