Prototype/PowerSwitch: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === power_on_...")
 
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''power-switch'''
Extends [[Prototype/EntityWithHealth]].
Extends [[Prototype/EntityWithHealth]].



Revision as of 16:27, 21 January 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