Prototype/LinkedContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Protected "Prototype/LinkedContainer": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Removed old prototype docs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''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 https://lua-api.factorio.com/latest/prototypes/LinkedContainerPrototype.html]
<div class="stub"><p>'''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 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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].
</p><p>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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
 
 
{{Prototype parent|Prototype/EntityWithOwner}}
A container that shares its inventory with containers with the same [https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.link_id 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.
 
{{Prototype TOC|linked-container}}
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithOwner]].
 
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}}
Must be > 0.
 
== Optional properties ==
 
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}}
 
{{Prototype property|inventory_type|[[Types/string|string]]|"with_bar"|optional=true}}
One of "with_bar" and "with_filters_and_bar". Whether the inventory of this container can be filtered (like cargo wagons) or not.
 
{{Prototype property|gui_mode|[[Types/string|string]]|all|optional=true}}
Players that can access the GUI to change the link ID. Possible options: "all", "none", "admins".
 
{{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.

Latest revision as of 14:32, 25 October 2024

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.