power_connectable

class PowerConnectableMixin(
neighbours: list[int] = NOTHING,
*,
extra_keys: dict[str, Any] | None = None,
)

Enables the Entity to be connected to power networks.

property maximum_wire_distance : float

The maximum distance that this entity can reach for power connections. Returns None if this entity’s name is not recognized by Draftsman.

property neighbours : list[int]

Deprecated since version 3.0.0: (Factorio 2.0)

This information is now converted and stored in the Blueprint.wires attribute whenever possible.

The set of neighbouring power poles that this pole connects to. Limited to 5 unique entries, since power poles (pre Factorio 2.0) could only have a maximum of 5 connections. Each integer entry in this list corresponds to the entity_number of a corresponding entity in the same blueprint.