Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_atom/signals_atom_lighting.dm

COMSIG_ATOM_SET_LIGHTfrom base of [atom/proc/set_light]: (l_range, l_power, l_color, l_on)
COMPONENT_BLOCK_LIGHT_UPDATEBlocks [/atom/proc/set_light], /atom/proc/set_light_power, /atom/proc/set_light_range, /atom/proc/set_light_color, /atom/proc/set_light_on, and /atom/proc/set_light_flags.
COMSIG_ATOM_SET_LIGHT_POWERCalled right before the atom changes the value of light_power to a different one, from base atom/proc/set_light_power: (new_power)
COMSIG_ATOM_UPDATE_LIGHT_POWERCalled right after the atom changes the value of light_power to a different one, from base of /atom/proc/set_light_power: (old_power)
COMSIG_ATOM_SET_LIGHT_RANGECalled right before the atom changes the value of light_range to a different one, from base atom/proc/set_light_range: (new_range)
COMSIG_ATOM_UPDATE_LIGHT_RANGECalled right after the atom changes the value of light_range to a different one, from base of /atom/proc/set_light_range: (old_range)
COMSIG_ATOM_SET_LIGHT_COLORCalled right before the atom changes the value of light_color to a different one, from base atom/proc/set_light_color: (new_color)
COMSIG_ATOM_UPDATE_LIGHT_COLORCalled right after the atom changes the value of light_color to a different one, from base of /atom/proc/set_light_color: (old_color)
COMSIG_ATOM_SET_LIGHT_ANGLECalled right before the atom changes the value of light_angle to a different one, from base atom/proc/set_light_angle: (new_angle)
COMSIG_ATOM_UPDATE_LIGHT_ANGLECalled right after the atom changes the value of light_angle to a different one, from base of /atom/proc/set_light_angle: (old_angle)
COMSIG_ATOM_SET_LIGHT_DIRCalled right before the atom changes the value of light_dir to a different one, from base atom/proc/set_light_dir: (new_dir)
COMSIG_ATOM_UPDATE_LIGHT_DIRCalled right after the atom changes the value of light_dir to a different one, from base of /atom/proc/set_light_dir: (old_dir)
COMSIG_ATOM_SET_LIGHT_ONCalled right before the atom changes the value of light_on to a different one, from base atom/proc/set_light_on: (new_value)
COMSIG_ATOM_UPDATE_LIGHT_ONCalled right after the atom changes the value of light_on to a different one, from base of /atom/proc/set_light_on: (old_value)
COMSIG_ATOM_SET_LIGHT_HEIGHTCalled right before the atom changes the value of light_height to a different one, from base atom/proc/set_light_height: (new_value)
COMSIG_ATOM_UPDATE_LIGHT_HEIGHTCalled right after the atom changes the value of light_height to a different one, from base of /atom/proc/set_light_height: (old_value)
COMSIG_ATOM_SET_LIGHT_FLAGSCalled right before the atom changes the value of light_flags to a different one, from base atom/proc/set_light_flags: (new_flags)
COMSIG_ATOM_UPDATE_LIGHT_FLAGSCalled right after the atom changes the value of light_flags to a different one, from base of /atom/proc/set_light_flags: (old_flags)
COMSIG_ATOM_LIGHT_TEMPLATE_MIRROREDCalled when an atom has a light template applied to it. Frombase of [/datum/light_template/proc/mirror_onto]: ()

Define Details

COMPONENT_BLOCK_LIGHT_UPDATE

Blocks [/atom/proc/set_light], /atom/proc/set_light_power, /atom/proc/set_light_range, /atom/proc/set_light_color, /atom/proc/set_light_on, and /atom/proc/set_light_flags.

COMSIG_ATOM_LIGHT_TEMPLATE_MIRRORED

Called when an atom has a light template applied to it. Frombase of [/datum/light_template/proc/mirror_onto]: ()

COMSIG_ATOM_SET_LIGHT

from base of [atom/proc/set_light]: (l_range, l_power, l_color, l_on)

COMSIG_ATOM_SET_LIGHT_ANGLE

Called right before the atom changes the value of light_angle to a different one, from base atom/proc/set_light_angle: (new_angle)

COMSIG_ATOM_SET_LIGHT_COLOR

Called right before the atom changes the value of light_color to a different one, from base atom/proc/set_light_color: (new_color)

COMSIG_ATOM_SET_LIGHT_DIR

Called right before the atom changes the value of light_dir to a different one, from base atom/proc/set_light_dir: (new_dir)

COMSIG_ATOM_SET_LIGHT_FLAGS

Called right before the atom changes the value of light_flags to a different one, from base atom/proc/set_light_flags: (new_flags)

COMSIG_ATOM_SET_LIGHT_HEIGHT

Called right before the atom changes the value of light_height to a different one, from base atom/proc/set_light_height: (new_value)

COMSIG_ATOM_SET_LIGHT_ON

Called right before the atom changes the value of light_on to a different one, from base atom/proc/set_light_on: (new_value)

COMSIG_ATOM_SET_LIGHT_POWER

Called right before the atom changes the value of light_power to a different one, from base atom/proc/set_light_power: (new_power)

COMSIG_ATOM_SET_LIGHT_RANGE

Called right before the atom changes the value of light_range to a different one, from base atom/proc/set_light_range: (new_range)

COMSIG_ATOM_UPDATE_LIGHT_ANGLE

Called right after the atom changes the value of light_angle to a different one, from base of /atom/proc/set_light_angle: (old_angle)

COMSIG_ATOM_UPDATE_LIGHT_COLOR

Called right after the atom changes the value of light_color to a different one, from base of /atom/proc/set_light_color: (old_color)

COMSIG_ATOM_UPDATE_LIGHT_DIR

Called right after the atom changes the value of light_dir to a different one, from base of /atom/proc/set_light_dir: (old_dir)

COMSIG_ATOM_UPDATE_LIGHT_FLAGS

Called right after the atom changes the value of light_flags to a different one, from base of /atom/proc/set_light_flags: (old_flags)

COMSIG_ATOM_UPDATE_LIGHT_HEIGHT

Called right after the atom changes the value of light_height to a different one, from base of /atom/proc/set_light_height: (old_value)

COMSIG_ATOM_UPDATE_LIGHT_ON

Called right after the atom changes the value of light_on to a different one, from base of /atom/proc/set_light_on: (old_value)

COMSIG_ATOM_UPDATE_LIGHT_POWER

Called right after the atom changes the value of light_power to a different one, from base of /atom/proc/set_light_power: (old_power)

COMSIG_ATOM_UPDATE_LIGHT_RANGE

Called right after the atom changes the value of light_range to a different one, from base of /atom/proc/set_light_range: (old_range)