Prototype/Container: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (→‎Properties: fixed types)
m (fixed type)
Line 16: Line 16:


=== circuit_wire_connection_point ===
=== circuit_wire_connection_point ===
'''Type''': [[Types/ConnectionPoint]]
'''Type''': [[Types/WireConnectionPoint]]


Defines how wires visually connect to this container.
Defines how wires visually connect to this container.

Revision as of 10:54, 1 January 2018

Basics

A generic container, such as a chest. Based on Prototype/EntityWithHealth.

Properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

picture

Type: Types/Sprite

The picture displayed for this entity.

inventory_size

Type: Types/uint

The number of slots in this container.

circuit_wire_connection_point

Type: Types/WireConnectionPoint

Defines how wires visually connect to this container.

circuit_wire_max_distance

Type: Types/uint

The maximum circuit wire distance for this container.

circuit_connector_sprites

Type: Types/table of Types/Sprite

The pictures displayed for circuit connections to this container.