Prototype/TransportBeltConnectable: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Abstract class that anything that is a belt or can connect to belts uses. Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inher...") |
(added Extensions) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
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]]. | ||
== Extensions == | |||
* [[Prototype/Loader]] '''loader''' | |||
* [[Prototype/Splitter]] '''splitter''' | |||
* [[Prototype/TransportBelt]] '''transport-belt''' | |||
* [[Prototype/UndergroundBelt]] '''underground-belt''' | |||
== Mandatory properties == | == Mandatory properties == |
Revision as of 17:53, 23 July 2018
Basics
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 = Items/second
Optional properties
animation_speed_coefficient
Type: Types/double
Default: 1