Prototype/LinkedContainer
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/LinkedContainerPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/LinkedContainer
A container that shares its inventory with containers with the same link_id, which can be set via the GUI. The link IDs are per prototype and force, so only containers with the same ID, same prototype name and same force will share inventories.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
inventory_size
Type: ItemStackIndex
Must be > 0.
Optional properties
picture
Type: Sprite
inventory_type
Type: string
Default: "with_bar"
One of "with_bar" and "with_filters_and_bar". Whether the inventory of this container can be filtered (like cargo wagons) or not.
gui_mode
Type: string
Default: all
Players that can access the GUI to change the link ID. Possible options: "all", "none", "admins".
scale_info_icons
Type: bool
Default: false
circuit_wire_connection_point
Type: WireConnectionPoint
Defines how wires visually connect to this linked container.
circuit_wire_max_distance
Type: double
Default: 0
The maximum circuit wire distance for this linked container.
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
circuit_connector_sprites
Type: CircuitConnectorSprites
The pictures displayed for circuit connections to this linked container.