Page 1 of 1

Let roboports have a shorter logistics_connection_distance than logistics_radius

Posted: Tue Apr 22, 2025 9:37 pm
by petrathekat
Hello,

I'd like to implement an earlier-game roboport that has a logistics radius but does not connect to other roboports (so you can have belt malls, but can't replace your whole base with bots). It looks like the cleanest way to do this would be to set the logistics_connection_distance to 0 (or less than the size of the roboport), but for some reason, it "Must be >= logistics_radius" according to the docs.

Would it be possible to remove this restriction? If not, why?

Re: Let roboports have a shorter logistics_connection_distance than logistics_radius

Posted: Tue Apr 22, 2025 10:04 pm
by Rseding91
It is not possible. It’s required to be >= so that if a roboport overlaps an entity, any other roboport that might also overlap the same entity will be connected to the other overlapping roboports.

This is because entities do not support being in multiple logistic networks.

Re: Let roboports have a shorter logistics_connection_distance than logistics_radius

Posted: Wed Apr 23, 2025 4:54 am
by petrathekat
Darn. Okay, thanks.

Re: Let roboports have a shorter logistics_connection_distance than logistics_radius

Posted: Wed Apr 23, 2025 7:55 am
by Nova
You could try to prevent placing the same building too close to the same type. Not exactly sure how to do that, but either it is already possible within the game, or you have to manually program that with a lua script so that each time the player tries to prevent primitive_roboport, the game prevents that when another is in radius X.