Prototype/Rail

From Official Factorio Wiki
Revision as of 16:11, 5 October 2018 by Bilka (talk | contribs) (Created page with "== Basics == The base of both rail prototypes. Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

The base of both rail prototypes. Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

rail_category

Type: Types/string

Name of a Prototype/RailCategory.

bending_type

Type: Types/string

Either "turn" or "straight", depending on the type of rail prototype.

pictures

Type: Types/table

Table with the following mandatory members:

Optional properties

secondary_collision_box

Type: Types/BoundingBox

Default: Empty box

Mandatory if bending_type is "turn".