Prototype/Container: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
A generic container, such as a chest. Can not be rotated. | |||
{{Prototype TOC|container}} | |||
Prototype | |||
== Extensions == | == Extensions == | ||
Line 13: | Line 11: | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|inventory_size|[[Types/uint16|uint16]]}} | |||
The number of slots in this container. | The number of slots in this container. | ||
{{Prototype property|picture|[[Types/Sprite|Sprite]]}} | |||
The picture displayed for this entity. | The picture displayed for this entity. | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|enable_inventory_bar|[[Types/bool|bool]]|true|optional=true}} | |||
If the red inventory limiter bar is enabled. | If the red inventory limiter bar is enabled. | ||
{{Prototype property|scale_info_icons|[[Types/bool|bool]]|false|optional=true}} | |||
If the icons of items shown in alt-mode should be scaled to the containers size. | If the icons of items shown in alt-mode should be scaled to the containers size. | ||
{{Prototype property|circuit_wire_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} | |||
Defines how wires visually connect to this container. | Defines how wires visually connect to this container. | ||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
The maximum circuit wire distance for this container. | The maximum circuit wire distance for this container. | ||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
= | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|circuit_connector_sprites|[[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}} | |||
The pictures displayed for circuit connections to this container. | The pictures displayed for circuit connections to this container. |
Revision as of 19:44, 29 July 2019
Template:Prototype parent 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/EntityWithHealth.
Template:Prototype property The number of slots in this container.
Template:Prototype property The picture displayed for this entity.
Optional properties
Template:Prototype property If the red inventory limiter bar is enabled.
Template:Prototype property If the icons of items shown in alt-mode should be scaled to the containers size.
Template:Prototype property Defines how wires visually connect to this container.
Template:Prototype property The maximum circuit wire distance for this container.
Template:Prototype property The pictures displayed for circuit connections to this container.