Prototype/TrainStop: Difference between revisions
Jump to navigation
Jump to search
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
A [[train stop]]. | |||
{{Prototype TOC|train-stop}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|animation_ticks_per_frame|[[Types/uint32|uint32]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|rail_overlay_animations|[[Types/Animation4Way|Animation4Way]]|optional=true}} | |||
{{Prototype property|animations|[[Types/Animation4Way|Animation4Way]]|optional=true}} | |||
{{Prototype property|top_animations|[[Types/Animation4Way|Animation4Way]]|optional=true}} | |||
{{Prototype property|default_train_stopped_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|color|[[Types/Color|Color]]|optional=true}} | |||
{{Prototype property|chart_name|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|light1|[[Types/table|table]]|optional=true}} | |||
Table with the following mandatory members: | Table with the following mandatory members: | ||
* picture - [[Types/Sprite4Way]] | * picture - [[Types/Sprite4Way|Sprite4Way]] | ||
* red_picture - [[Types/Sprite4Way]] | * red_picture - [[Types/Sprite4Way|Sprite4Way]] | ||
* light - [[Types/LightDefinition | * light - [[Types/LightDefinition|LightDefinition]] | ||
{{Prototype property|light2|[[Types/table|table]]|optional=true}} | |||
Table with the following mandatory members: | Table with the following mandatory members: | ||
* picture - [[Types/Sprite4Way]] | * picture - [[Types/Sprite4Way|Sprite4Way]] | ||
* red_picture - [[Types/Sprite4Way]] | * red_picture - [[Types/Sprite4Way|Sprite4Way]] | ||
* light - [[Types/LightDefinition | * light - [[Types/LightDefinition|LightDefinition]] | ||
{{Prototype property|drawing_boxes|[[Types/table|table]]|optional=true}} | |||
Table with the following mandatory members: | Table with the following mandatory members: | ||
* north - [[Types/BoundingBox]] | * north - [[Types/BoundingBox|BoundingBox]] | ||
* east - [[Types/BoundingBox]] | * east - [[Types/BoundingBox|BoundingBox]] | ||
* south - [[Types/BoundingBox]] | * south - [[Types/BoundingBox|BoundingBox]] | ||
* west - [[Types/BoundingBox | * west - [[Types/BoundingBox|BoundingBox]] | ||
{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} | |||
Array of 4 WireConnectionPoints. Mandatory if circuit_wire_max_distance > 0. | Array of 4 WireConnectionPoints. Mandatory if circuit_wire_max_distance > 0. | ||
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}} | |||
Array of 4 CircuitConnectorSpritess. Mandatory if circuit_wire_max_distance > 0. | Array of 4 CircuitConnectorSpritess. Mandatory if circuit_wire_max_distance > 0. |
Revision as of 17:18, 5 August 2019
Template:Prototype parent A train stop.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Optional properties
Template:Prototype property Table with the following mandatory members:
- picture - Sprite4Way
- red_picture - Sprite4Way
- light - LightDefinition
Template:Prototype property Table with the following mandatory members:
- picture - Sprite4Way
- red_picture - Sprite4Way
- light - LightDefinition
Template:Prototype property Table with the following mandatory members:
- north - BoundingBox
- east - BoundingBox
- south - BoundingBox
- west - BoundingBox
Template:Prototype property Array of 4 WireConnectionPoints. Mandatory if circuit_wire_max_distance > 0.
Template:Prototype property Array of 4 CircuitConnectorSpritess. Mandatory if circuit_wire_max_distance > 0.