Prototype/TrainStop: Difference between revisions
(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
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:
- picture - Types/Sprite4Way
- red_picture - Types/Sprite4Way
- light - Types/LightDefinition
light2
Type: Types/table
Table with the following mandatory members:
- picture - Types/Sprite4Way
- red_picture - Types/Sprite4Way
- light - Types/LightDefinition
drawing_boxes
Type: Types/table
Table with the following mandatory members:
- north - Types/BoundingBox
- east - Types/BoundingBox
- south - Types/BoundingBox
- west - Types/BoundingBox
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.