code/__DEFINES/power_defines.dm ![code/__DEFINES/power_defines.dm0](git.png)
PW_CHANNEL_EQUIPMENT | Power Channel for equipment power users |
---|---|
PW_CHANNEL_LIGHTING | Power chanel for lighting power users |
PW_CHANNEL_ENVIRONMENT | Power channel for environmental power users |
PW_ALWAYS_UNPOWERED | Local powernet in this area will never be powered, even if its recieving power |
PW_ALWAYS_POWERED | Local powernet in this area will always have power even if its not recieving power |
MACHINE_FLICKER_CHANCE | roughly 1/2000 chance of a machine flickering on any given tick. That means in a two hour round each machine will flicker on average a little less than two times. |
BROKEN | Machine is broken |
NOPOWER | Machine is not recieving any power from the local powernet |
MAINT | machine is currently under maintenance |
EMPED | Machine is currently affected by EMP pulse |
NO_POWER_USE | This machine is not currently consuming any power passively |
IDLE_POWER_USE | This machine is consuming its idle power amount passively |
ACTIVE_POWER_USE | This machine is consuming its active power amount passively |
APC_NOT_CHARGING | APC is not recieving power |
APC_IS_CHARGING | APC is currently recieving power and storing it |
APC_FULLY_CHARGED | APC battery is at 100% |
Define Details
ACTIVE_POWER_USE ![code/__DEFINES/power_defines.dm 32](git.png)
This machine is consuming its active power amount passively
APC_FULLY_CHARGED ![code/__DEFINES/power_defines.dm 40](git.png)
APC battery is at 100%
APC_IS_CHARGING ![code/__DEFINES/power_defines.dm 38](git.png)
APC is currently recieving power and storing it
APC_NOT_CHARGING ![code/__DEFINES/power_defines.dm 36](git.png)
APC is not recieving power
BROKEN ![code/__DEFINES/power_defines.dm 18](git.png)
Machine is broken
EMPED ![code/__DEFINES/power_defines.dm 24](git.png)
Machine is currently affected by EMP pulse
IDLE_POWER_USE ![code/__DEFINES/power_defines.dm 30](git.png)
This machine is consuming its idle power amount passively
MACHINE_FLICKER_CHANCE ![code/__DEFINES/power_defines.dm 14](git.png)
roughly 1/2000 chance of a machine flickering on any given tick. That means in a two hour round each machine will flicker on average a little less than two times.
MAINT ![code/__DEFINES/power_defines.dm 22](git.png)
machine is currently under maintenance
NOPOWER ![code/__DEFINES/power_defines.dm 20](git.png)
Machine is not recieving any power from the local powernet
NO_POWER_USE ![code/__DEFINES/power_defines.dm 28](git.png)
This machine is not currently consuming any power passively
PW_ALWAYS_POWERED ![code/__DEFINES/power_defines.dm 11](git.png)
Local powernet in this area will always have power even if its not recieving power
PW_ALWAYS_UNPOWERED ![code/__DEFINES/power_defines.dm 9](git.png)
Local powernet in this area will never be powered, even if its recieving power
PW_CHANNEL_ENVIRONMENT ![code/__DEFINES/power_defines.dm 6](git.png)
Power channel for environmental power users
PW_CHANNEL_EQUIPMENT ![code/__DEFINES/power_defines.dm 2](git.png)
Power Channel for equipment power users
PW_CHANNEL_LIGHTING ![code/__DEFINES/power_defines.dm 4](git.png)
Power chanel for lighting power users