Prototype/LogisticContainer: Difference between revisions
(Added prototype type to page) |
(0.17.21) |
||
Line 7: | Line 7: | ||
* [[Prototype/InfinityContainer]] '''infinity-container''' | * [[Prototype/InfinityContainer]] '''infinity-container''' | ||
== | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Container]]. | This prototype inherits all the properties from [[Prototype/Container]]. | ||
Line 14: | Line 14: | ||
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 == | |||
=== logistic_slots_count === | === logistic_slots_count === | ||
Line 28: | Line 30: | ||
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 === | |||
'''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. |
Revision as of 13:39, 27 March 2019
Basics
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.
render_not_in_network_icon
Type: Types/bool
Default: true
Whether the 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.