Space Station 13 - Modules - TypesVar Details - Proc Details

apc

Vars

alarm_managerRepresents a signel source of power alarms for this apc
arc_shieldedHas the APC been protected against arcing?
force_arcingShould we be forcing arcing, assuming there isn't arc shielding?

Procs

autosetReturns the new status value for an APC channel.
bronze_actHandles interaction of adding arc shielding to apc with bronze
check_updatesChecks for what icon updates we will need to handle
setsubsystemUsed by external forces to set the APCs channel status's.

Var Details

alarm_manager

Represents a signel source of power alarms for this apc

arc_shielded

Has the APC been protected against arcing?

force_arcing

Should we be forcing arcing, assuming there isn't arc shielding?

Proc Details

autoset

Returns the new status value for an APC channel.

// val 0=off, 1=off(auto) 2=on 3=on(auto) // on 0=off, 1=on, 2=autooff TODO: Make this use bitflags instead. It should take at most three lines, but it's out of scope for now.

Arguments:

bronze_act

Handles interaction of adding arc shielding to apc with bronze

check_updates

Checks for what icon updates we will need to handle

setsubsystem

Used by external forces to set the APCs channel status's.

Arguments: