Template:Solar power mechanics

Mechanics
Maximum power: W on normal planets (up to W is possible in highly unusual conditions).

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 a ship, player station, or in an asteroid belt orbiting a star, it always produces W of power regardless of light or day/night cycle.
 * On regular planets it produces between W and W of power: W if, W if  , W if  , W if  , and ( * (1 + light))W if  . Light levels higher than 1 are considered to be 1.
 * Note:  maximum light level for brightest planets (Garden, Eden, etc.) is 0.78 during the day, so W is the maximum. Only 1 out of 6 Frozen Moon planets has 0.86 light.
 * 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:.