Prototype/ElectricPole: 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}}
An electric pole - part of the [[electric system]].


== Basics ==
{{Prototype TOC|electric-pole}}
Prototype type: '''electric-pole'''
 
An electric pole - part of the [[electric system]]. Based on [[Prototype/EntityWithHealth]].


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


=== pictures ===
{{Prototype property|pictures|[[Types/RotatedSprite|RotatedSprite]]}}
'''Type''': [[Types/RotatedSprite]]
 
=== supply_area_distance ===
'''Type''': [[Types/float]]


{{Prototype property|supply_area_distance|[[Types/float|float]]}}
The "radius" of this pole's supply area. Corresponds to ''half'' of the "supply area" in the item tooltip. If this is 3.5, the pole will have a 7X7 supply area.
The "radius" of this pole's supply area. Corresponds to ''half'' of the "supply area" in the item tooltip. If this is 3.5, the pole will have a 7X7 supply area.


Line 21: Line 16:
== Optional properties ==
== Optional properties ==


=== radius_visualisation_picture ===
{{Prototype property|radius_visualisation_picture|[[Types/Sprite|Sprite]]|optional=true}}
'''Type''': [[Types/Sprite]]
 
=== maximum_wire_distance ===
'''Type''': [[Types/double]]
 
'''Default''': 0


{{Prototype property|maximum_wire_distance|[[Types/double|double]]|0|optional=true}}
The maximum distance between this pole and any other connected pole - if two poles are farther apart than this, they cannot be connected together directly. Corresponds to "wire reach" in the item tooltip.
The maximum distance between this pole and any other connected pole - if two poles are farther apart than this, they cannot be connected together directly. Corresponds to "wire reach" in the item tooltip.


Max value is 64.
Max value is 64.


=== active_picture ===
{{Prototype property|active_picture|[[Types/Sprite|Sprite]]|optional=true}}
'''Type''': [[Types/Sprite]]
 
=== light ===
'''Type''': [[Types/LightDefinition]]
 
=== track_coverage_during_build_by_moving ===
'''Type''': [[Types/bool]]
 
'''Default''': false


=== connection_points ===
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
'''Type''': [[Types/table]] of [[Types/WireConnectionPoint]]


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


'''Default''': true
{{Prototype property|connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=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 20:03, 29 July 2019

Template:Prototype parent An electric pole - part of the electric system.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property

Template:Prototype property The "radius" of this pole's supply area. Corresponds to half of the "supply area" in the item tooltip. If this is 3.5, the pole will have a 7X7 supply area.

Max value is 64.

Optional properties

Template:Prototype property

Template:Prototype property The maximum distance between this pole and any other connected pole - if two poles are farther apart than this, they cannot be connected together directly. Corresponds to "wire reach" in the item tooltip.

Max value is 64.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property