Skip to main content

SolarPanel

Generates electricity using solar energy from a local star. The closer it is to a star, the more energy it generates. The type of star also affects its energy generation, as well as the size of the SolarPanel. If the SolarPanel is blocked by a part, it will not generate any energy, glass however will work.

It is a craftable and spawnable flammable solid.

It has a malleability of 2000.

At its default size (8x1x8) it has a durability of 1, at its maximum size it has a durability of 4.

By default, its colour is #a3a2a5.

It requires 12 Iron, 120 Quartz, 21 Silicon, and 30 Wire to be crafted.

Events


Loop(deltaTime)

Fires when the object is updated by the game loop.

The deltaTime parameter is the 'time' since the last tick, it does not represent the actual time since the last tick was occurred, rather just how often a game tick should be fired (it will always be precisely 1). It is a number.