Power System

**Power** is a finite resource that is produced and consumed in Wattage. It is used by a variety of Structures for different purposes. There's current two power system: one for Facilities and one for Bunkers.

## Bunker Power

In Bunkers power is produced by Engine Rooms when they have been provided with Diesel for fuel. Engine Rooms have a capacity of 200L (2 cans) which will last 96 hours, producing 3,000 Watts of power the entire time. Power is distributed by Pipes.

### Power Distribution

Power is distributed equally between all power consuming bunkers in a single Pipe network. It is distributed from any Engine Rooms in the network, although priority is given to Engine Rooms which are closest to the structure consuming power. Power is projected up to 20 pipe sections away from the Engine Room.

Due to power being distributed equally among connected bunker, it can lead to some weirdness where you are producing enough power, but it is not being distributed properly. An example of this is a bunker with one Observation Bunker, and 3 Garrisons. This consumes 2,800 Watts of power, which can be supplied by a single Engine Room. However, due to the equal split, in this scenario all 4 structures will receive 750 Watts each, preventing the Observation Bunker from functioning.

Due to this power distribution method, it is recommended to have separate networks for any structures which cost different amounts of power.

### Checking Power

How much power a bunker produces and receives can be checked by using the Hammer's Upgrade mode (press `F` to toggle). That mode also shows the Pipe networks and their powered state. Pipe color indicate the powered state of the structure they're on:

* Green: Fully powered
* Red: No power
* Orange: Receives some power but not enough to power the structure / Out of fuel (for engine rooms)

### Bunkers using power

* Rifle Garrison - 600 Watts
* Machine Gun Garrison - 600 Watts
* AT Gun Garrison - 600 Watts
* Observation Bunker - 1,000 Watts
* Storm Cannon - 35,000 Watts
* Intelligence Center - 35,000 Watts

## Facility Power

In Facilities power is produced by Diesel Power Plants and Power Stations. Its is distributed through Power Poles and Power Lines. The power is evenly distributed between all facilities connected to the power network. Power is required for most facilities to function and produce things. The interface of every facility and power pole shows how much power it is receiving and a red notch indicates how much power it currently requires. Facility power consumption can depend on the type of production selected. One network of Power Poles cannot transport more than 30MW, if more than 30MW of power is generated in the network the excess is lost.

Only one power line can be attached to a given facility. Power lines always require power poles to connect facilities, you cannot directly connect two facilities together with a single power line.

## Gallery

* Pipe color indicating their powered state
* Aiming at a structure with the hammer's Upgrade Mode shows power consumption/production.
* an AT Gun Garrison with a powered spotlight at night.
* A power line connecting two power poles.
* A power line connected to a Metalworks Factory.