Prototype/TransportBeltConnectable: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(added Extensions)
m (→‎speed: typo)
Line 42: Line 42:
'''Type''': [[Types/double]]
'''Type''': [[Types/double]]


The speed of the belt: <code>(speed × 640) ÷ 1.5 = Items/second</code>
The speed of the belt: <code>(speed × 640) ÷ 1.5 = x Items/second</code>


== Optional properties ==
== Optional properties ==

Revision as of 17:59, 23 July 2018

Basics

Abstract class that anything that is a belt or can connect to belts uses. Extends Prototype/EntityWithHealth.

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

belt_horizontal

Type: Types/Animation

belt_vertical

Type: Types/Animation

ending_top

Type: Types/Animation

ending_bottom

Type: Types/Animation

ending_side

Type: Types/Animation

starting_top

Type: Types/Animation

starting_bottom

Type: Types/Animation

starting_side

Type: Types/Animation

ending_patch

Type: Types/Sprite4Way

speed

Type: Types/double

The speed of the belt: (speed × 640) ÷ 1.5 = x Items/second

Optional properties

animation_speed_coefficient

Type: Types/double

Default: 1