Prototype/TrainStop: Difference between revisions

From Official Factorio Wiki
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]].


== Basics ==
{{Prototype TOC|train-stop}}
Prototype type: '''train-stop'''
 
Extends [[Prototype/EntityWithHealth]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== animation_ticks_per_frame ===
{{Prototype property|animation_ticks_per_frame|[[Types/uint32|uint32]]}}
'''Type''': [[Types/uint32]]


== Optional properties ==
== Optional properties ==


=== rail_overlay_animations ===
{{Prototype property|rail_overlay_animations|[[Types/Animation4Way|Animation4Way]]|optional=true}}
'''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 ===
{{Prototype property|animations|[[Types/Animation4Way|Animation4Way]]|optional=true}}
'''Type''': [[Types/bool]]


'''Default''': true
{{Prototype property|top_animations|[[Types/Animation4Way|Animation4Way]]|optional=true}}


=== draw_circuit_wires ===
{{Prototype property|default_train_stopped_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}}
'''Type''': [[Types/bool]]


'''Default''': true
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}}


=== color ===
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/Color]]


=== chart_name ===
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/bool]]


'''Default''': true
{{Prototype property|color|[[Types/Color|Color]]|optional=true}}


=== light1 ===
{{Prototype property|chart_name|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/table]]


{{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]]
 
=== light2 ===
'''Type''': [[Types/table]]


{{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]]
 
=== drawing_boxes ===
'''Type''': [[Types/table]]


{{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]]
 
=== circuit_wire_connection_points ===
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]


{{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.  


=== circuit_connector_sprites ===
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}}
'''Type''': [[Types/table]] of [[Types/CircuitConnectorSprites]]
 
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.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property

Optional properties

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Table with the following mandatory members:

Template:Prototype property Table with the following mandatory members:

Template:Prototype property Table with the following mandatory members:

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.