Prototype/LinkedContainer
Jump to navigation
Jump to search
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 and same prototype and same force will share inventories.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
inventory_size
Type: ItemStackIndex
Must be > 0.
Optional properties
picture
Type: Sprite
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