Prototype/TrainStop: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.1: default_trains_limit_signal, default_trains_count_signal added)
(Removed old prototype docs)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/TrainStopPrototype.html https://lua-api.factorio.com/latest/prototypes/TrainStopPrototype.html]
A [[train stop]].


{{Prototype TOC|train-stop}}
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
 
{{Prototype property|animation_ticks_per_frame|[[Types/uint32|uint32]]}}
 
== 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|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|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:
 
* picture - [[Types/Sprite4Way|Sprite4Way]]
* red_picture - [[Types/Sprite4Way|Sprite4Way]]
* light - [[Types/LightDefinition|LightDefinition]]
 
{{Prototype property|light2|[[Types/table|table]]|optional=true}}
Table with the following mandatory members:
 
* picture - [[Types/Sprite4Way|Sprite4Way]]
* red_picture - [[Types/Sprite4Way|Sprite4Way]]
* light - [[Types/LightDefinition|LightDefinition]]
 
{{Prototype property|drawing_boxes|[[Types/table|table]]|optional=true}}
Table with the following mandatory members:
 
* north - [[Types/BoundingBox|BoundingBox]]
* east - [[Types/BoundingBox|BoundingBox]]
* south - [[Types/BoundingBox|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.
 
{{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.

Latest revision as of 14:33, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/TrainStopPrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.