Prototype/TrainStop

From Official Factorio Wiki
Revision as of 15:53, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Template:Prototype parent

Basics

Prototype type: train-stop

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

animation_ticks_per_frame

Type: Types/uint32

Optional properties

rail_overlay_animations

Type: Types/Animation4Way

animations

Type: Types/Animation4Way

top_animations

Type: Types/Animation4Way

default_train_stopped_signal

Type: Types/SignalIDConnector

circuit_wire_max_distance

Type: Types/double

Default: 0

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

Default: true

color

Type: Types/Color

chart_name

Type: Types/bool

Default: true

light1

Type: Types/table

Table with the following mandatory members:

light2

Type: Types/table

Table with the following mandatory members:

drawing_boxes

Type: Types/table

Table with the following mandatory members:

circuit_wire_connection_points

Type: Types/table of Types/WireConnectionPoint

Array of 4 WireConnectionPoints. Mandatory if circuit_wire_max_distance > 0.

circuit_connector_sprites

Type: Types/table of Types/CircuitConnectorSprites

Array of 4 CircuitConnectorSpritess. Mandatory if circuit_wire_max_distance > 0.