Prototype/TrainStop: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
Prototype type: '''train-stop'''
Prototype type: '''train-stop'''

Revision as of 15:53, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/TrainStop


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.