Prototype/PowerSwitch

From Official Factorio Wiki
Revision as of 14:33, 27 March 2019 by Bilka (talk | contribs) (0.17)
Jump to navigation Jump to search

Basics

Prototype type: power-switch

Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

power_on_animation

Type: Types/Animation

overlay_start

Type: Types/Animation

overlay_loop

Type: Types/Animation

led_on

Type: Types/Sprite

led_off

Type: Types/Sprite

overlay_start_delay

Type: Types/uint8

circuit_wire_connection_point

Type: Types/WireConnectionPoint

left_wire_connection_point

Type: Types/WireConnectionPoint

right_wire_connection_point

Type: Types/WireConnectionPoint

Optional properties

wire_max_distance

Type: Types/double

Default: 0

draw_copper_wires

Type: Types/bool

Default: true

draw_circuit_wires

Type: Types/bool

Default: true