Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# NeighbourConnectable - Prototype Docs

## NeighbourConnectable :: struct

Defines how this entity connects to its neighbours

## Properties

- default
- sorted

affected_by_direction optional | :: boolean | If the connection positions and directions will be affected by entity's direction.
If the connection positions and directions will be affected by entity's direction.
neighbour_search_distance optional | :: float | Distance by which connection point is shifted along its direction to select a position where neighbor will be searched.
Distance by which connection point is shifted along its direction to select a position where neighbor will be searched.
connections | :: array[NeighbourConnectableConnectionDefinition] | Definitions of the connection points.
Definitions of the connection points.

connections | :: array[NeighbourConnectableConnectionDefinition] | Definitions of the connection points.
Definitions of the connection points.
affected_by_direction optional | :: boolean | If the connection positions and directions will be affected by entity's direction.
If the connection positions and directions will be affected by entity's direction.
neighbour_search_distance optional | :: float | Distance by which connection point is shifted along its direction to select a position where neighbor will be searched.
Distance by which connection point is shifted along its direction to select a position where neighbor will be searched.

## Properties

### affected_by_direction :: boolean optional

Default: `true`

If the connection positions and directions will be affected by entity's direction.

### neighbour_search_distance :: float optional

Default: `0.7`

Distance by which connection point is shifted along its direction to select a position where neighbor will be searched.

### connections :: array[NeighbourConnectableConnectionDefinition]

Definitions of the connection points.

Type used in

- FusionReactorPrototype::neighbour_connectable