SS1984 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_medical.dm

COMSIG_DEFIB_PADDLES_APPLIEDDefib-specific signals Called when a defibrillator is first applied to someone. (mob/living/user, mob/living/target, harmful)
COMPONENT_BLOCK_DEFIB_DEADDefib is out of power.
COMPONENT_BLOCK_DEFIB_MISCSomething else: we won't have a custom message for this and should let the defib handle it.
COMSIG_DEFIB_SHOCK_APPLIEDCalled when a defib has been successfully used, and a shock has been applied. (mob/living/user, mob/living/target, harmful, successful)
COMSIG_DEFIB_READYCalled when a defib's cooldown has run its course and it is once again ready. ()
COMSIG_ANIMAL_HANDLE_ENVIRONMENTSource: /mob/living/simple_animal/handle_environment(datum/gas_mixture/environment)

Define Details

COMPONENT_BLOCK_DEFIB_DEAD

Defib is out of power.

COMPONENT_BLOCK_DEFIB_MISC

Something else: we won't have a custom message for this and should let the defib handle it.

COMSIG_ANIMAL_HANDLE_ENVIRONMENT

Source: /mob/living/simple_animal/handle_environment(datum/gas_mixture/environment)

COMSIG_DEFIB_PADDLES_APPLIED

Defib-specific signals Called when a defibrillator is first applied to someone. (mob/living/user, mob/living/target, harmful)

COMSIG_DEFIB_READY

Called when a defib's cooldown has run its course and it is once again ready. ()

COMSIG_DEFIB_SHOCK_APPLIED

Called when a defib has been successfully used, and a shock has been applied. (mob/living/user, mob/living/target, harmful, successful)