Prototype/PowerSwitch

From Official Factorio Wiki
Revision as of 15:51, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

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


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