Prototype/LinkedContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.1.62: inventory_type added)
(1.1.62: circuit_wire_connection_point, circuit_wire_max_distance, draw_copper_wires, draw_circuit_wires, circuit_connector_sprites added)
Line 21: Line 21:


{{Prototype property|scale_info_icons|[[Types/bool|bool]]|false|optional=true}}
{{Prototype property|scale_info_icons|[[Types/bool|bool]]|false|optional=true}}
{{Prototype property|circuit_wire_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}}
Defines how wires visually connect to this linked container.
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}}
The maximum circuit wire distance for this linked container.
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}
{{Prototype property|circuit_connector_sprites|[[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}}
The pictures displayed for circuit connections to this linked container.

Revision as of 10:41, 12 August 2022

Template:Prototype parent 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.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithOwner.

Template:Prototype property Must be > 0.

Optional properties

Template:Prototype property

Template:Prototype property One of "with_bar" and "with_filters_and_bar". Whether the inventory of this container can be filtered (like cargo wagons) or not.

Template:Prototype property Players that can access the GUI to change the link ID. Possible options: "all", "none", "admins".

Template:Prototype property

Template:Prototype property Defines how wires visually connect to this linked container.

Template:Prototype property The maximum circuit wire distance for this linked container.

Template:Prototype property

Template:Prototype property

Template:Prototype property The pictures displayed for circuit connections to this linked container.