/tg/ Station 13 - Modules - TypesDefine Details

code/modules/power/apc.dm

APC_ELECTRONICS_MISSINGThere are no electronics in the APC.
APC_ELECTRONICS_INSTALLEDThe electronics are installed but not secured.
APC_ELECTRONICS_SECUREDThe electronics are installed and secured.
APC_COVER_CLOSEDThe APCs cover is closed.
APC_COVER_OPENEDThe APCs cover is open.
APC_COVER_REMOVEDThe APCs cover is missing.
APC_PIXEL_OFFSETPixel offset of the APC from the floor turf
APC_NOT_CHARGINGThe APC is not charging.
APC_CHARGINGThe APC is charging.
APC_FULLY_CHARGEDThe APC is fully charged.
APC_CHANNEL_OFFThe APCs power channel is manually set off.
APC_CHANNEL_AUTO_OFFThe APCs power channel is automatically off.
APC_CHANNEL_ONThe APCs power channel is manually set on.
APC_CHANNEL_AUTO_ONThe APCs power channel is automatically on.
AUTOSET_FORCE_OFFThe APC turns automated and manual power channels off.
AUTOSET_OFFThe APC turns automated power channels off.
AUTOSET_ONThe APC turns automated power channels on.
APC_NO_POWERThe APC either isn't attached to a powernet or there is no power on the external powernet.
APC_LOW_POWERThe APCs external powernet does not have enough power to charge the APC.
APC_HAS_POWERThe APCs external powernet has enough power to charge the APC.
APC_DRAIN_TIMEHow long it takes an ethereal to drain or charge APCs. Also used as a spam limiter.
APC_POWER_GAINHow much power ethereals gain/drain from APCs.
APC_RESET_EMPThe wire value used to reset the APCs wires after one's EMPed.
UPSTATE_COVER_SHIFTThe bit shift for the APCs cover status.
UPSTATE_OPENED1The bitflag representing the APCs cover being open for icon purposes.
UPSTATE_OPENED2The bitflag representing the APCs cover being missing for icon purposes.
UPSTATE_CELL_INThe APC has a power cell.
UPSTATE_BROKEThe APC is broken or damaged.
UPSTATE_MAINTThe APC is undergoing maintenance.
UPSTATE_BLUESCREENThe APC is emagged or malfed.
UPSTATE_WIREEXPThe APCs wires are exposed.
UPOVERLAY_OPERATINGBitflag indicating that the APCs operating status overlay should be shown.
UPOVERLAY_LOCKEDBitflag indicating that the APCs locked status overlay should be shown.
UPOVERLAY_CHARGING_SHIFTBit shift for the charging status of the APC.
UPOVERLAY_EQUIPMENT_SHIFTBit shift for the equipment status of the APC.
UPOVERLAY_LIGHTING_SHIFTBit shift for the lighting channel status of the APC.
UPOVERLAY_ENVIRON_SHIFTBit shift for the environment channel status of the APC.

Define Details

APC_CHANNEL_AUTO_OFF

The APCs power channel is automatically off.

APC_CHANNEL_AUTO_ON

The APCs power channel is automatically on.

APC_CHANNEL_OFF

The APCs power channel is manually set off.

APC_CHANNEL_ON

The APCs power channel is manually set on.

APC_CHARGING

The APC is charging.

APC_COVER_CLOSED

The APCs cover is closed.

APC_COVER_OPENED

The APCs cover is open.

APC_COVER_REMOVED

The APCs cover is missing.

APC_DRAIN_TIME

How long it takes an ethereal to drain or charge APCs. Also used as a spam limiter.

APC_ELECTRONICS_INSTALLED

The electronics are installed but not secured.

APC_ELECTRONICS_MISSING

There are no electronics in the APC.

APC_ELECTRONICS_SECURED

The electronics are installed and secured.

APC_FULLY_CHARGED

The APC is fully charged.

APC_HAS_POWER

The APCs external powernet has enough power to charge the APC.

APC_LOW_POWER

The APCs external powernet does not have enough power to charge the APC.

APC_NOT_CHARGING

The APC is not charging.

APC_NO_POWER

The APC either isn't attached to a powernet or there is no power on the external powernet.

APC_PIXEL_OFFSET

Pixel offset of the APC from the floor turf

APC_POWER_GAIN

How much power ethereals gain/drain from APCs.

APC_RESET_EMP

The wire value used to reset the APCs wires after one's EMPed.

AUTOSET_FORCE_OFF

The APC turns automated and manual power channels off.

AUTOSET_OFF

The APC turns automated power channels off.

AUTOSET_ON

The APC turns automated power channels on.

UPOVERLAY_CHARGING_SHIFT

Bit shift for the charging status of the APC.

UPOVERLAY_ENVIRON_SHIFT

Bit shift for the environment channel status of the APC.

UPOVERLAY_EQUIPMENT_SHIFT

Bit shift for the equipment status of the APC.

UPOVERLAY_LIGHTING_SHIFT

Bit shift for the lighting channel status of the APC.

UPOVERLAY_LOCKED

Bitflag indicating that the APCs locked status overlay should be shown.

UPOVERLAY_OPERATING

Bitflag indicating that the APCs operating status overlay should be shown.

UPSTATE_BLUESCREEN

The APC is emagged or malfed.

UPSTATE_BROKE

The APC is broken or damaged.

UPSTATE_CELL_IN

The APC has a power cell.

UPSTATE_COVER_SHIFT

The bit shift for the APCs cover status.

UPSTATE_MAINT

The APC is undergoing maintenance.

UPSTATE_OPENED1

The bitflag representing the APCs cover being open for icon purposes.

UPSTATE_OPENED2

The bitflag representing the APCs cover being missing for icon purposes.

UPSTATE_WIREEXP

The APCs wires are exposed.