Template:Solar power mechanics

Mechanics
Maximum power: u.

While the is in the world, it checks light level (number between 0 and 1) and the environment and adjusts its output every 10 seconds based on the following criteria:
 * If the is underground or in an area with a light level lower than 0.2, it does not produce power.
 * If the is on spacestation or a ship, it always produces u of power, regardless of light or day/night cycle.
 * On regular planets it produces between u and u of power: u if, u if  , u if  , and ( * (1 + light))u if  . Light levels higher than 1 are considered to be 1.
 * Background walls behind the don't reduce the power directly, but they reduce the light level, and can bring it below the minimum 0.2.
 * Being submerged in liquid reduces the power output by 95%.

This template is included into pages Solar Panel, Solar Array and Solar Tower, because all these objects use the same script: https://github.com/sayterdarkwynd/FrackinUniverse/blob/master/objects/power/isn_solarpanel.lua Usage:.