Prototype/PowerSwitch: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(1.1.51: Prototype/EntityWithOwner added) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | {{Prototype parent|Prototype/EntityWithOwner}} | ||
A [[power switch]]. | A [[power switch]]. | ||
Line 5: | Line 5: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|power_on_animation|[[Types/Animation|Animation]]}} | {{Prototype property|power_on_animation|[[Types/Animation|Animation]]}} |
Latest revision as of 19:27, 21 January 2022
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/PowerSwitch
A power switch.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
power_on_animation
Type: Animation
overlay_start
Type: Animation
overlay_loop
Type: Animation
led_on
Type: Sprite
led_off
Type: Sprite
overlay_start_delay
Type: uint8
circuit_wire_connection_point
Type: WireConnectionPoint
left_wire_connection_point
Type: WireConnectionPoint
right_wire_connection_point
Type: WireConnectionPoint
Optional properties
wire_max_distance
Type: double
Default: 0
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true