Prototype/InfinityContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 4: Line 4:
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.


== Properties ==
== Mandatory properties ==
 
=== erase_contents_when_mined ===
'''Type''': [[Types/bool]]
 
== Optional properties ==
This prototype inherits all the properties from [[Prototype/LogisticContainer]].
This prototype inherits all the properties from [[Prototype/LogisticContainer]].


Line 13: Line 18:


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".
=== erase_contents_when_mined ===
'''Type''': [[Types/bool]]


== Differing defaults ==
== Differing defaults ==
Line 23: 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

Revision as of 13:43, 27 March 2019

Basics

Prototype type: infinity-container

A generic container, such as a chest, that can spawn or void items and interact with the logistics network.

Mandatory properties

erase_contents_when_mined

Type: Types/bool

Optional properties

This prototype inherits all the properties from Prototype/LogisticContainer.

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