Prototype/Container: Difference between revisions
(Converted to SMW format) |
(1.1.51: Prototype/EntityWithOwner added) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | {{Prototype parent|Prototype/EntityWithOwner}} | ||
A generic container, such as a chest. Can not be rotated. | A generic container, such as a chest. Can not be rotated. | ||
Line 9: | Line 9: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|inventory_size|[[Types/uint16|uint16]]}} | {{Prototype property|inventory_size|[[Types/uint16|uint16]]}} |
Revision as of 19:26, 21 January 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Container
A generic container, such as a chest. Can not be rotated.
Extensions
- Prototype/LogisticContainer logistic-container
- Prototype/InfinityContainer infinity-container
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
inventory_size
Type: uint16
The number of slots in this container.
picture
Type: Sprite
The picture displayed for this entity.
Optional properties
enable_inventory_bar
Type: bool
Default: true
If the red inventory limiter bar is enabled.
scale_info_icons
Type: bool
Default: false
If the icons of items shown in alt-mode should be scaled to the containers size.
circuit_wire_connection_point
Type: WireConnectionPoint
Defines how wires visually connect to this container.
circuit_wire_max_distance
Type: double
Default: 0
The maximum circuit wire distance for this container.
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
circuit_connector_sprites
Type: CircuitConnectorSprites
The pictures displayed for circuit connections to this container.