find_construction_networks_by_position
Posted: Tue Sep 13, 2016 11:24 pm
There is already LuaSurface.find_logistic_network_by_position(position, force) but it obviously only works if you test for a position inside the orange zone.
It would be useful to have
LuaSurface.find_construction_networks_by_position(position, force) -> array of LuaLogisticNetwork
which finds the networks covering the given position with their green zone. It returns an array since construction zones can overlap without being connected.
Analogous LuaForce.find_construction_networks_by_position(position, surface) -> array of LuaLogisticNetwork
It would be useful to have
LuaSurface.find_construction_networks_by_position(position, force) -> array of LuaLogisticNetwork
which finds the networks covering the given position with their green zone. It returns an array since construction zones can overlap without being connected.
Analogous LuaForce.find_construction_networks_by_position(position, surface) -> array of LuaLogisticNetwork