byond - Modules - TypesVar Details - Proc Details

WL-6 universal fuel cell

Vars

fuel_amountHow much fuel is in the reactor
max_fuel_amountMax amount that the cell can hold
new_cellIf the fuel cell has been used since last recharge

Procs

get_fuel_percentPercentage of fuel left in the cell
is_regeneratedWhether the fuel cell is full
modify_fuelincrease or decrease fuel, making sure it cannot go above the max

Var Details

fuel_amount

How much fuel is in the reactor

max_fuel_amount

Max amount that the cell can hold

new_cell

If the fuel cell has been used since last recharge

Proc Details

get_fuel_percent

Percentage of fuel left in the cell

is_regenerated

Whether the fuel cell is full

modify_fuel

increase or decrease fuel, making sure it cannot go above the max