Prototype/PowerSwitch: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 40: Line 40:


'''Default''': 0
'''Default''': 0
=== draw_copper_wires ===
'''Type''': [[Types/bool]]
'''Default''': true
=== draw_circuit_wires ===
'''Type''': [[Types/bool]]
'''Default''': true

Revision as of 14:33, 27 March 2019

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