Prototype/PowerSwitch: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
A [[power switch]].


== Basics ==
{{Prototype TOC|power-switch}}
Prototype type: '''power-switch'''
 
Extends [[Prototype/EntityWithHealth]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== power_on_animation ===
{{Prototype property|power_on_animation|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== overlay_start ===
{{Prototype property|overlay_start|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== overlay_loop ===
{{Prototype property|overlay_loop|[[Types/Animation|Animation]]}}
'''Type''': [[Types/Animation]]


=== led_on ===
{{Prototype property|led_on|[[Types/Sprite|Sprite]]}}
'''Type''': [[Types/Sprite]]


=== led_off ===
{{Prototype property|led_off|[[Types/Sprite|Sprite]]}}
'''Type''': [[Types/Sprite]]


=== overlay_start_delay ===
{{Prototype property|overlay_start_delay|[[Types/uint8|uint8]]}}
'''Type''': [[Types/uint8]]


=== circuit_wire_connection_point ===
{{Prototype property|circuit_wire_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]}}
'''Type''': [[Types/WireConnectionPoint]]


=== left_wire_connection_point ===
{{Prototype property|left_wire_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]}}
'''Type''': [[Types/WireConnectionPoint]]


=== right_wire_connection_point ===
{{Prototype property|right_wire_connection_point|[[Types/WireConnectionPoint|WireConnectionPoint]]}}
'''Type''': [[Types/WireConnectionPoint]]


== Optional properties ==
== Optional properties ==


=== wire_max_distance ===
{{Prototype property|wire_max_distance|[[Types/double|double]]|0|optional=true}}
'''Type''': [[Types/double]]
 
'''Default''': 0
 
=== draw_copper_wires ===
'''Type''': [[Types/bool]]
 
'''Default''': true


=== draw_circuit_wires ===
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}
'''Type''': [[Types/bool]]


'''Default''': true
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}

Revision as of 16:51, 5 August 2019