Prototype/PowerSwitch: 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 ==
Prototype type: '''power-switch'''
Prototype type: '''power-switch'''

Revision as of 15:51, 24 July 2019

Template:Prototype parent

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