User Tools

Site Tools


4rpl:commands:generateenergy

This is an old revision of the document!


Index

GenerateEnergy

GenerateEnergy(<-amt)

Description

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.

Examples

GenerateEnergy(1)

Index

4rpl/commands/generateenergy.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)