Prototype/LinkedContainer: Difference between revisions
Jump to navigation
Jump to search
(1.1.51: Prototype/EntityWithOwner added) |
(1.1.62: inventory_type added) |
||
Line 13: | Line 13: | ||
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}} | {{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}} | {{Prototype property|gui_mode|[[Types/string|string]]|all|optional=true}} |
Revision as of 10:28, 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.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
Template:Prototype property Must be > 0.
Optional properties
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".