Prototype/TrainStop: Difference between revisions
(1.1: default_trains_limit_signal, default_trains_count_signal added) |
(1.1.51: Prototype/EntityWithOwner added) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | {{Prototype parent|Prototype/EntityWithOwner}} | ||
A [[train stop]]. | A [[train stop]]. | ||
Line 5: | Line 5: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|animation_ticks_per_frame|[[Types/uint32|uint32]]}} | {{Prototype property|animation_ticks_per_frame|[[Types/uint32|uint32]]}} |
Latest revision as of 19:27, 21 January 2022
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.