/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_materials.dm

COMSIG_MATERIALS_INIT_MATfrom base of [/datum/materials_controller/proc/initialize_material]: (/datum/material)
COMSIG_MATERIAL_APPLIEDfrom /datum/material/proc/on_applied(source, mat_amount, multiplier): (atom/new_atom, mat_amount, multiplier)
COMSIG_MATERIAL_MAIN_APPLIEDfrom /datum/material/proc/on_main_applied(source, mat_amount, multiplier): (atom/new_atom, mat_amount, multiplier)
COMSIG_MATERIAL_REMOVEDfrom /datum/material/proc/on_removed(source, mat_amount, multiplier): (atom/old_atom, amount, material_flags)
COMSIG_MATERIAL_MAIN_REMOVEDfrom /datum/material/proc/on_main_removed(source, mat_amount, multiplier): (atom/old_atom, mat_amount, multiplier)
COMSIG_MATERIAL_EFFECT_TOUCHWhen a material is touched by an atom: (datum/material/source, atom/object, atom/target, mob/living/initiator, def_zone, skin_contact)
COMSIG_MATERIAL_EFFECT_STEPWhen a material is stepped onto: (datum/material/source, atom/object, atom/target, mob/living/initiator, def_zone, skin_contact)
COMSIG_MATERIAL_EFFECT_HITWhen a material hits something: (datum/material/source, atom/object, atom/target, mob/living/user, def_zone, skin_contact)
COMSIG_MATERIAL_EFFECT_THROW_IMPACTWhen a material hits something when thrown: (datum/material/source, atom/object, atom/target, mob/living/thrower, def_zone, skin_contact)

Define Details

COMSIG_MATERIALS_INIT_MAT

from base of [/datum/materials_controller/proc/initialize_material]: (/datum/material)

COMSIG_MATERIAL_APPLIED

from /datum/material/proc/on_applied(source, mat_amount, multiplier): (atom/new_atom, mat_amount, multiplier)

COMSIG_MATERIAL_EFFECT_HIT

When a material hits something: (datum/material/source, atom/object, atom/target, mob/living/user, def_zone, skin_contact)

COMSIG_MATERIAL_EFFECT_STEP

When a material is stepped onto: (datum/material/source, atom/object, atom/target, mob/living/initiator, def_zone, skin_contact)

COMSIG_MATERIAL_EFFECT_THROW_IMPACT

When a material hits something when thrown: (datum/material/source, atom/object, atom/target, mob/living/thrower, def_zone, skin_contact)

COMSIG_MATERIAL_EFFECT_TOUCH

When a material is touched by an atom: (datum/material/source, atom/object, atom/target, mob/living/initiator, def_zone, skin_contact)

COMSIG_MATERIAL_MAIN_APPLIED

from /datum/material/proc/on_main_applied(source, mat_amount, multiplier): (atom/new_atom, mat_amount, multiplier)

COMSIG_MATERIAL_MAIN_REMOVED

from /datum/material/proc/on_main_removed(source, mat_amount, multiplier): (atom/old_atom, mat_amount, multiplier)

COMSIG_MATERIAL_REMOVED

from /datum/material/proc/on_removed(source, mat_amount, multiplier): (atom/old_atom, amount, material_flags)