generator ![code/modules/vehicles/mecha/equipment/tools/other_tools.dm 270](git.png)
GENERATOR
Vars | |
fuel | Type of fuel the generator is using. Is set in generator_init() to add the starting amount of fuel |
---|---|
fuelrate_active | Fuel used per second while actively generating, in units |
fuelrate_idle | Fuel used per second while idle, not generating, in units |
max_fuel | Maximum fuel capacity of the generator, in units |
rechargerate | Energy recharged per second |
Procs | |
generator_init | Introduces the actual fuel type to be used, as well as the starting amount of said fuel |
load_fuel | Try to insert more fuel into the generator |
Var Details
fuel ![code/modules/vehicles/mecha/equipment/tools/other_tools.dm 279](git.png)
Type of fuel the generator is using. Is set in generator_init() to add the starting amount of fuel
fuelrate_active ![code/modules/vehicles/mecha/equipment/tools/other_tools.dm 283](git.png)
Fuel used per second while actively generating, in units
fuelrate_idle ![code/modules/vehicles/mecha/equipment/tools/other_tools.dm 281](git.png)
Fuel used per second while idle, not generating, in units
max_fuel ![code/modules/vehicles/mecha/equipment/tools/other_tools.dm 285](git.png)
Maximum fuel capacity of the generator, in units
rechargerate ![code/modules/vehicles/mecha/equipment/tools/other_tools.dm 287](git.png)
Energy recharged per second
Proc Details
generator_init
Introduces the actual fuel type to be used, as well as the starting amount of said fuel
load_fuel
Try to insert more fuel into the generator