Prototype/TransportBeltConnectable: Difference between revisions
Jump to navigation
Jump to search
m (→speed: typo) |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
This type is abstract and cannot be created directly. | |||
Abstract class that anything that is a belt or can connect to belts uses. Extends [[Prototype/EntityWithHealth]]. | Abstract class that anything that is a belt or can connect to belts uses. Extends [[Prototype/EntityWithHealth]]. | ||
Revision as of 16:27, 21 January 2019
Basics
This type is abstract and cannot be created directly.
Abstract class that anything that is a belt or can connect to belts uses. Extends Prototype/EntityWithHealth.
Extensions
- Prototype/Loader loader
- Prototype/Splitter splitter
- Prototype/TransportBelt transport-belt
- Prototype/UndergroundBelt underground-belt
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