Prototype/InfinityContainer: Difference between revisions
(Created page with "== Basics == A generic container, such as a chest, that can spawn or void items and interact with the logistics network. == Properties == This prototype inherits all the prop...") |
(Updated styling of prototype doc migration note) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | <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/InfinityContainerPrototype.html https://lua-api.factorio.com/latest/prototypes/InfinityContainerPrototype.html] | ||
</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/LogisticContainer}} | |||
A generic container, such as a chest, that can spawn or void items and interact with the logistics network. | A generic container, such as a chest, that can spawn or void items and interact with the logistics network. | ||
{{Prototype TOC|infinity-container}} | |||
== | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/LogisticContainer]]. | |||
{{Prototype property|erase_contents_when_mined|[[Types/bool|bool]]}} | |||
== Optional properties == | |||
{{Prototype property|gui_mode|[[Types/string|string]]|"all"|optional=true}} | |||
Controls which players can control what the chest spawns. Possible options: "all", "none", "admins". | Controls which players can control what the chest spawns. Possible options: "all", "none", "admins". | ||
== Differing defaults == | == Differing defaults == | ||
Line 21: | Line 25: | ||
* logistic_mode is not mandatory | * logistic_mode is not mandatory | ||
* render_not_in_network_icon defaults to false | * render_not_in_network_icon defaults to false | ||
* inventory_size may not be 0 |
Latest revision as of 10:43, 21 September 2023
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/InfinityContainerPrototype.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.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Container » Prototype/LogisticContainer » Prototype/InfinityContainer
A generic container, such as a chest, that can spawn or void items and interact with the logistics network.
Mandatory properties
This prototype inherits all the properties from Prototype/LogisticContainer.
erase_contents_when_mined
Type: bool
Optional properties
gui_mode
Type: string
Default: "all"
Controls which players can control what the chest spawns. Possible options: "all", "none", "admins".
Differing defaults
The defaults of the InfinityContainerPrototype differ from the defaults of the LogisticsContainerPrototype:
- logistic_mode is not mandatory
- render_not_in_network_icon defaults to false
- inventory_size may not be 0