Prototype/RailSignalBase: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 18: Line 18:
=== rail_piece ===
=== rail_piece ===
'''Type''': [[Types/Animation]]
'''Type''': [[Types/Animation]]
=== green_light ===
'''Type''': [[Types/LightDefinition]]
=== orange_light ===
'''Type''': [[Types/LightDefinition]]
=== red_light ===
'''Type''': [[Types/LightDefinition]]
=== default_red_output_signal ===
'''Type''': [[Types/SignalIDConnector]]
=== default_orange_output_signal ===
'''Type''': [[Types/SignalIDConnector]]
=== default_green_output_signal ===
'''Type''': [[Types/SignalIDConnector]]
=== circuit_wire_max_distance ===
'''Type''': [[Types/double]]
'''Default''': 0
The maximum circuit wire distance for this entity.
=== draw_copper_wires ===
'''Type''': [[Types/bool]]
'''Default''': true
=== draw_circuit_wires ===
'''Type''': [[Types/bool]]
'''Default''': true
=== circuit_wire_connection_points ===
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]
Mandatory if circuit_wire_max_distance > 0.
=== circuit_connector_sprites ===
'''Type''': [[Types/table]] of [[Types/CircuitConnectorSprites]]
Mandatory if circuit_wire_max_distance > 0.

Revision as of 17:41, 11 April 2019

Basics

This type is abstract and cannot be created directly.

Extends Prototype/EntityWithHealth.

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

animation

Type: Types/RotatedAnimation

Optional properties

rail_piece

Type: Types/Animation

green_light

Type: Types/LightDefinition

orange_light

Type: Types/LightDefinition

red_light

Type: Types/LightDefinition

default_red_output_signal

Type: Types/SignalIDConnector

default_orange_output_signal

Type: Types/SignalIDConnector

default_green_output_signal

Type: Types/SignalIDConnector

circuit_wire_max_distance

Type: Types/double

Default: 0

The maximum circuit wire distance for this entity.

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

Default: true

circuit_wire_connection_points

Type: Types/table of Types/WireConnectionPoint

Mandatory if circuit_wire_max_distance > 0.

circuit_connector_sprites

Type: Types/table of Types/CircuitConnectorSprites

Mandatory if circuit_wire_max_distance > 0.