/tg/ Station 13 - Modules - TypesVar Details - Proc Details

generator

GENERATOR

Vars

fuelType of fuel the generator is using. Is set in generator_init() to add the starting amount of fuel
fuelrate_activeFuel used per second while actively generating, in units
fuelrate_idleFuel used per second while idle, not generating, in units
max_fuelMaximum fuel capacity of the generator, in units
rechargerateEnergy recharged per second

Procs

generator_initIntroduces the actual fuel type to be used, as well as the starting amount of said fuel
load_fuelTry to insert more fuel into the generator

Var Details

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

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