Prototype/LogisticContainer: Difference between revisions
(0.18.10: animation_sound) |
(1.1) |
||
Line 15: | Line 15: | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property| | {{Prototype property|max_logistic_slots|[[Types/uint16|uint16]]|optional=true}} | ||
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 and can have a maximum of 1000 slots. Storage-type containers must have <= 1 slot. | ||
{{Prototype property|render_not_in_network_icon|[[Types/bool|bool]]|true|optional=true}} | {{Prototype property|render_not_in_network_icon|[[Types/bool|bool]]|true|optional=true}} |
Revision as of 19:17, 2 December 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Container » Prototype/LogisticContainer
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: string
The way this chest interacts with the logistic network. Valid values are "passive-provider", "active-provider", "storage", "buffer" and "requester".
Optional properties
max_logistic_slots
Type: uint16
The number of request slots this logistics container has. Requester-type containers must have > 0 slots and can have a maximum of 1000 slots. Storage-type containers must have <= 1 slot.
render_not_in_network_icon
Type: bool
Default: true
Whether the icon should be rendered on this entity if the entity is not within a logistics network.
opened_duration
Type: uint8
Default: 0
animation
Type: Animation
Drawn when a robot brings/takes items from this container.
landing_location_offset
Type: vector
The offset from the center of this container where a robot visually brings/takes items.
animation_sound
Type: Sound
Played when a robot brings/takes items from this container. Ignored if animation
is not defined.
Differing defaults
The defaults of the LogisticsContainerPrototype differ from the defaults of the ContainerPrototype:
- picture is not mandatory