Factorio Prototype DocsVersion 2.0.15

NeighbourConnectableConnectionDefinition :: struct

In order for 2 NeighbourConnectable to connect they need to share a connection point at the same position with opposite direction and both accept neighbor's category.

Properties

location :: MapLocation
category :: NeighbourConnectableConnectionCategory

Name of a category this connection should belong to. [...]

Name of a category this connection should belong to. [...]

neighbour_category optional :: array[NeighbourConnectableConnectionCategory]

Table of neighbor categories this connection will connect to.

Table of neighbor categories this connection will connect to.

Properties

location :: MapLocation

MapLocation :: struct

Properties

position :: MapPosition

Position relative to entity's position where the connection point will be located at.

direction :: MapPosition

Direction this connection point will be facing to.

category :: NeighbourConnectableConnectionCategory

Name of a category this connection should belong to. Used when deciding which connections are allowed to connect to this.

Cannot be an empty string.

neighbour_category :: array[NeighbourConnectableConnectionCategory] optional

Table of neighbor categories this connection will connect to.

Prototypes

Types

Defines