Prototype/TrainStop: Difference between revisions
(Converted to SMW format) |
(1.1: default_trains_limit_signal, default_trains_count_signal added) |
||
Line 18: | Line 18: | ||
{{Prototype property|default_train_stopped_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | {{Prototype property|default_train_stopped_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | ||
{{Prototype property|default_trains_count_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|default_trains_limit_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | {{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} |
Revision as of 16:14, 3 February 2021
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/TrainStop
A train stop.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
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.