Prototype/ElectricPole: Difference between revisions
(1.1.51: Prototype/EntityWithOwner added) |
m (Changed "maximum_wire_distance" to "max_wire_distance" since it was incorrect) |
||
Line 23: | Line 23: | ||
Drawn above the <code>pictures</code> when the electric pole is connected to an electric network. | Drawn above the <code>pictures</code> when the electric pole is connected to an electric network. | ||
{{Prototype property| | {{Prototype property|max_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. | ||
Revision as of 18:31, 19 April 2022
Template:Prototype parent An electric pole - part of the electric system.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
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
Drawn above the pictures
when the electric pole is connected to an electric network.
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 Drawn when the electric pole is connected to an electric network.