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:
 * doesn't produce any power during the night (even if the area seems well-lighted), when underground (where Survivor players can't beam up) or if the light level is lower than 0.2.
 * 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  , 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%.
 * Artificial light (torches, etc.) doesn't provide power.

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:.