Prototype/RailSignalBase: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
== Basics ==
== Basics ==
This type is abstract and cannot be created directly.
This type is abstract and cannot be created directly.

Revision as of 15:52, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/RailSignalBase


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.