Prototype/RailSignalBase: 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}} | ||
The base entity for both rail signals. | |||
{{Prototype TOC|''abstract''}} | |||
== Extensions == | == Extensions == | ||
Line 13: | Line 11: | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|animation|[[Types/RotatedAnimation|RotatedAnimation]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|rail_piece|[[Types/Animation|Animation]]|optional=true}} | |||
{{Prototype property|green_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|orange_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|red_light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
{{Prototype property|default_red_output_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|default_orange_output_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|default_green_output_signal|[[Types/SignalIDConnector|SignalIDConnector]]|optional=true}} | |||
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}} | |||
The maximum circuit wire distance for this entity. | The maximum circuit wire distance for this entity. | ||
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
= | |||
{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}} | |||
Mandatory if circuit_wire_max_distance > 0. | Mandatory if circuit_wire_max_distance > 0. | ||
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}} | |||
Mandatory if circuit_wire_max_distance > 0. | Mandatory if circuit_wire_max_distance > 0. |
Revision as of 17:05, 5 August 2019
Template:Prototype parent The base entity for both rail signals.
Extensions
- Prototype/RailChainSignal rail-chain-signal
- Prototype/RailSignal rail-signal
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Optional properties
Template:Prototype property The maximum circuit wire distance for this entity.
Template:Prototype property Mandatory if circuit_wire_max_distance > 0.
Template:Prototype property Mandatory if circuit_wire_max_distance > 0.