Prototype/LogisticContainer: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/Container}}
{{Prototype parent|Prototype/Container}}
A generic container, such as a chest, that interacts with the logistics network.


== Basics ==
{{Prototype TOC|logistic-container}}
Prototype type: '''logistic-container'''
 
A generic container, such as a chest, that interacts with the logistics network


== Extensions ==
== Extensions ==
Line 12: Line 10:
This prototype inherits all the properties from [[Prototype/Container]].
This prototype inherits all the properties from [[Prototype/Container]].


=== logistic_mode ===
{{Prototype property|logistic_mode|[[Types/string|string]]}}
'''Type''': [[Types/string]]
 
The way this chest interacts with the logistic network. Valid values are "passive-provider", "active-provider", "storage", "buffer" and "requester".
The way this chest interacts with the logistic network. Valid values are "passive-provider", "active-provider", "storage", "buffer" and "requester".


== Optional properties ==
== Optional properties ==


=== logistic_slots_count ===
{{Prototype property|logistic_slots_count|[[Types/uint32|uint32]]|0|optional=true}}
'''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.
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 ===
{{Prototype property|render_not_in_network_icon|[[Types/bool|bool]]|true|optional=true}}
'''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.
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 ===
{{Prototype property|opened_duration|[[Types/uint8|uint8]]|0|optional=true}}
'''Type''': [[Types/uint8]]
 
'''Default''': 0
 
=== animation ===
'''Type''': [[Types/Animation]]
 
Used when a robot brings/takes items from this container.


=== landing_location_offset ===
{{Prototype property|animation|[[Types/Animation|Animation]]|optional=true}}
'''Type''': [[Types/vector]]
Drawn when a robot brings/takes items from this container.


{{Prototype property|landing_location_offset|[[Types/vector|vector]]|optional=true}}
The offset from the center of this container where a robot visually brings/takes items.
The offset from the center of this container where a robot visually brings/takes items.



Revision as of 19:46, 29 July 2019

Template:Prototype parent A generic container, such as a chest, that interacts with the logistics network.

Template:Prototype TOC

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/Container.

Template:Prototype property The way this chest interacts with the logistic network. Valid values are "passive-provider", "active-provider", "storage", "buffer" and "requester".

Optional properties

Template:Prototype property The number of request slots this logistics container has. Requester-type containers must have > 0 slots. Storage-type containers must have <= 1 slot.

Template:Prototype property Whether the Too-far-from-roboport-icon.png icon should be rendered on this entity if the entity is not within a logistics network.

Template:Prototype property

Template:Prototype property Drawn when a robot brings/takes items from this container.

Template:Prototype property 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