Prototype/TrainStop: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Updated styling of prototype doc migration note)
(Removed old prototype docs)
 
Line 2: Line 2:


</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>
</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>
{{Prototype parent|Prototype/EntityWithOwner}}
A [[train stop]].
{{Prototype TOC|train-stop}}
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithOwner]].
{{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.