Prototype/LinkedContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.1)
 
m (word)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
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 and same prototype ''and'' same force will share inventories.
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 and same prototype name ''and'' same force will share inventories.


{{Prototype TOC|linked-container}}
{{Prototype TOC|linked-container}}

Revision as of 21:12, 11 December 2020

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 and same prototype name and same force will share inventories.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property Must be > 0.

Optional properties

Template:Prototype property

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

Template:Prototype property