Prototype/InfinityContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (ordering)
(Removed old prototype docs)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
<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]
Prototype type: '''infinity-container'''


A generic container, such as a chest, that can spawn or void items and interact with the logistics network.
</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>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/LogisticContainer]].
 
=== erase_contents_when_mined ===
'''Type''': [[Types/bool]]
 
== Optional properties ==
 
=== gui_mode ===
'''Type''': [[Types/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

Latest revision as of 14:32, 25 October 2024

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.