Prototype/TrainStop: Difference between revisions
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === animation...") |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
Prototype type: '''train-stop''' | |||
Extends [[Prototype/EntityWithHealth]]. | Extends [[Prototype/EntityWithHealth]]. | ||
Revision as of 16:27, 21 January 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
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.