Prototype/LogisticContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Removed old prototype docs)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/Container}}
<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/LogisticContainerPrototype.html https://lua-api.factorio.com/latest/prototypes/LogisticContainerPrototype.html]


== Basics ==
</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 type: '''logistic-container'''
 
A generic container, such as a chest, that interacts with the logistics network
 
== Extensions ==
* [[Prototype/InfinityContainer]] '''infinity-container'''
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Container]].
 
=== logistic_mode ===
'''Type''': [[Types/string]]
 
The way this chest interacts with the logistic network. Valid values are "passive-provider", "active-provider", "storage", "buffer" and "requester".
 
== Optional properties ==
 
=== logistic_slots_count ===
'''Type''': [[Types/uint32]]
 
'''Default''': 0
 
The number of request slots this logistics container has. Requester-type containers must have > 0 slots. Storage-type containers must have <= 1 slot.
 
=== render_not_in_network_icon ===
'''Type''': [[Types/bool]]
 
'''Default''': true
 
Whether the [[File:Too-far-from-roboport-icon.png]] icon should be rendered on this entity if the entity is not within a logistics network.
 
=== opened_duration ===
'''Type''': [[Types/uint8]]
 
'''Default''': 0
 
=== animation ===
'''Type''': [[Types/Animation]]
 
Used when a robot brings/takes items from this container.
 
=== landing_location_offset ===
'''Type''': [[Types/vector]]
 
The offset from the center of this container where a robot visually brings/takes items.
 
== Differing defaults ==
 
The defaults of the LogisticsContainerPrototype differ from the defaults of the ContainerPrototype:
 
* picture is not mandatory

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/LogisticContainerPrototype.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.