Prototype/Container: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page.)
 
(addded cicuit wire definitions)
Line 14: Line 14:


The number of slots in this container.
The number of slots in this container.
=== circuit_wire_connection_point ===
Type: [[Types/ConnectionPoint]]
Defines how wires visually connect to this container.
=== circuit_wire_max_distance ===
Type: [[Types/double]]
The maximum circuit wire distance for this container.
=== circuit_connector_sprites ===
Type: Table of [[Types/Sprite]]
The pictures displayed for circuit connections to this container.

Revision as of 09:20, 7 August 2017

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/unsigned

The number of slots in this container.

circuit_wire_connection_point

Type: Types/ConnectionPoint

Defines how wires visually connect to this container.

circuit_wire_max_distance

Type: Types/double

The maximum circuit wire distance for this container.

circuit_connector_sprites

Type: Table of Types/Sprite

The pictures displayed for circuit connections to this container.