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

core

Vars

modMOD unit we are powering.

Procs

add_chargeAdds a set amount of charge to the core.
charge_amountReturns the amount of charge in the core.
charge_sourceReturns the item responsible for charging the suit, like a power cell, an ethereal's stomach, the core itself, etc.
check_chargeChecks if there's enough charge in the core to use an amount of energy.
get_charge_icon_stateReturns what icon state to display on the HUD for the charge level of this core
get_chargebar_colorGets what the UI should use for the charge bar color.
get_chargebar_stringGets what the UI should use for the charge bar text.
max_charge_amountReturns the max amount of charge stored in the core.
subtract_chargeSubtracts a set amount of charge from the core.

Var Details

mod

MOD unit we are powering.

Proc Details

add_charge

Adds a set amount of charge to the core.

charge_amount

Returns the amount of charge in the core.

charge_source

Returns the item responsible for charging the suit, like a power cell, an ethereal's stomach, the core itself, etc.

check_charge

Checks if there's enough charge in the core to use an amount of energy.

get_charge_icon_state

Returns what icon state to display on the HUD for the charge level of this core

get_chargebar_color

Gets what the UI should use for the charge bar color.

get_chargebar_string

Gets what the UI should use for the charge bar text.

max_charge_amount

Returns the max amount of charge stored in the core.

subtract_charge

Subtracts a set amount of charge from the core.