Prototype/TrainStop
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/TrainStopPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/TrainStop
A train stop.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
animation_ticks_per_frame
Type: uint32
Optional properties
rail_overlay_animations
Type: Animation4Way
animations
Type: Animation4Way
top_animations
Type: Animation4Way
default_train_stopped_signal
Type: SignalIDConnector
default_trains_count_signal
Type: SignalIDConnector
default_trains_limit_signal
Type: SignalIDConnector
circuit_wire_max_distance
Type: double
Default: 0
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
color
Type: Color
chart_name
Type: bool
Default: true
light1
Type: table
Table with the following mandatory members:
- picture - Sprite4Way
- red_picture - Sprite4Way
- light - LightDefinition
light2
Type: table
Table with the following mandatory members:
- picture - Sprite4Way
- red_picture - Sprite4Way
- light - LightDefinition
drawing_boxes
Type: table
Table with the following mandatory members:
- north - BoundingBox
- east - BoundingBox
- south - BoundingBox
- west - BoundingBox
circuit_wire_connection_points
Type: table of WireConnectionPoint
Array of 4 WireConnectionPoints. Mandatory if circuit_wire_max_distance > 0.
circuit_connector_sprites
Type: table of CircuitConnectorSprites
Array of 4 CircuitConnectorSpritess. Mandatory if circuit_wire_max_distance > 0.