Prototype/ElectricPole: Difference between revisions
(Converted to SMW format) |
(0.18.17) |
||
Line 9: | Line 9: | ||
{{Prototype property|pictures|[[Types/RotatedSprite|RotatedSprite]]}} | {{Prototype property|pictures|[[Types/RotatedSprite|RotatedSprite]]}} | ||
{{Prototype property|supply_area_distance|[[Types/ | {{Prototype property|supply_area_distance|[[Types/double|double]]}} | ||
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. | ||
Max value is 64. | Max value is 64. | ||
{{Prototype property|connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|radius_visualisation_picture|[[Types/Sprite|Sprite]]|optional=true}} | {{Prototype property|radius_visualisation_picture|[[Types/Sprite|Sprite]]|optional=true}} | ||
{{Prototype property|active_picture|[[Types/Sprite|Sprite]]|optional=true}} | |||
{{Prototype property|maximum_wire_distance|[[Types/double|double]]|0|optional=true}} | {{Prototype property|maximum_wire_distance|[[Types/double|double]]|0|optional=true}} | ||
Line 23: | Line 27: | ||
Max value is 64. | Max value is 64. | ||
{{Prototype property| | {{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}} | ||
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}} | |||
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | {{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | ||
{{Prototype property|track_coverage_during_build_by_moving|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|track_coverage_during_build_by_moving|[[Types/bool|bool]]|false|optional=true}} | ||
Revision as of 16:57, 30 March 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/ElectricPole
An electric pole - part of the electric system.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
pictures
Type: RotatedSprite
supply_area_distance
Type: double
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.
connection_points
Type: table of WireConnectionPoint
Optional properties
radius_visualisation_picture
Type: Sprite
active_picture
Type: Sprite
maximum_wire_distance
Type: double
Default: 0
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.
draw_copper_wires
Type: bool
Default: true
draw_circuit_wires
Type: bool
Default: true
light
Type: LightDefinition
track_coverage_during_build_by_moving
Type: bool
Default: false