This is an old revision of the document!
⇐ Index
GenerateEnergy(<-amt)
Generates energy. Does the same thing towers, miners, and collector panels do. The amt is a float in energy generation per second. Internally, the specified amount will be divided by 30. So you should call GenerateEnergy each frame if you want a steady supply.
GenerateEnergy(1)
⇐ Index