Prototype/LinkedContainer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (formatting) |
||
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''' , '''same prototype name''' 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''', '''same prototype name''' and '''same force''' will share inventories. | ||
{{Prototype TOC|linked-container}} | {{Prototype TOC|linked-container}} |
Revision as of 15:57, 18 June 2021
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.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property Must be > 0.
Optional properties
Template:Prototype property Players that can access the GUI to change the link ID. Possible options: "all", "none", "admins".