Prototype/TransportBelt: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (typo)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/TransportBeltConnectable}}
== Basics ==
== Basics ==
Prototype type: '''transport-belt'''
Prototype type: '''transport-belt'''

Revision as of 15:54, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/TransportBeltConnectable » Prototype/TransportBelt


Basics

Prototype type: transport-belt

A transport belt. Extends Prototype/TransportBeltConnectable.

Mandatory properties

This prototype inherits all the properties from Prototype/TransportBeltConnectable.

connector_frame_sprites

Type: Types/TransportBeltConnectorFrame

Optional properties

circuit_wire_max_distance

Type: Types/double

Default: 0

The maximum circuit wire distance for this entity.

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

Default: true

circuit_wire_connection_point

Type: Array of Types/WireConnectionPoint

Defines how wires visually connect to this transport belt.

circuit_connector_sprites

Type: Array of Types/CircuitConnectorSprites

The pictures displayed for circuit connections to this transport belt.

belt_animation_set

Type: Types/table

Either this, or animations has to present.

This is the same table as the one used by Prototype/TransportBeltConnectable, with additional properties. If this is present, the belt_animation_set will used for all graphics.

Table with the following additional optional properties:

animations

Type: Types/RotatedAnimation

Transport belts must have 12 animations. Mandatory if belt_animation_set is not present.