/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/signals_mob/signals_mob_main.dm

COMSIG_TRY_ALT_ACTIONCalled on user, from base of /datum/strippable_item/perform_alternate_action() (atom/target, action_key)
POST_BASIC_MOB_UPDATE_VARSPEEDCalled on /basic when updating its speed, from base of /mob/living/basic/update_basic_mob_varspeed(): ()
COMSIG_MOB_LOGINfrom base of /mob/Login(): ()
COMSIG_MOB_LOGOUTfrom base of /mob/Logout(): ()
COMSIG_MOB_MIND_INITIALIZEDfrom base of /mob/mind_initialize
COMSIG_MOB_STATCHANGEfrom base of mob/set_stat(): (new_stat, old_stat)
COMSIG_MOB_REAGENT_CHECKfrom base of mob/reagent_check(): (datum/reagent/chem, seconds_per_tick, times_fired)
COMSIG_MOB_STOP_REAGENT_CHECKstops the reagent check call
COMSIG_MOB_CLICKONfrom base of mob/clickon(): (atom/A, params)
COMSIG_MOB_MIDDLECLICKONfrom base of mob/MiddleClickOn(): (atom/A)
COMSIG_MOB_ALTCLICKONfrom base of mob/AltClickOn(): (atom/A)
COMSIG_MOB_ALTCLICKON_SECONDARYfrom base of mob/alt_click_on_secodary(): (atom/A)
COMSIG_MOB_BOT_PRE_STEPFrom base of /mob/living/simple_animal/bot/proc/bot_step()
COMPONENT_MOB_BOT_BLOCK_PRE_STEPShould always match COMPONENT_MOVABLE_BLOCK_PRE_MOVE as these are interchangeable and used to block movement.
COMSIG_MOB_BOT_STEPFrom base of /mob/living/simple_animal/bot/proc/bot_step()
COMSIG_MOB_UPDATE_HELD_ITEMSFrom base of /mob/proc/update_held_items
COMSIG_MOB_CLIENT_PRE_LIVING_MOVEFrom base of /client/Move(): (list/move_args)
COMSIG_MOB_CLIENT_BLOCK_PRE_LIVING_MOVEShould we stop the current living movement attempt
COMSIG_MOB_CLIENT_PRE_NON_LIVING_MOVEFrom base of /client/Move(), invoked when a non-living mob is attempting to move: (list/move_args)
COMSIG_MOB_CLIENT_BLOCK_PRE_NON_LIVING_MOVECancels the move attempt
COMSIG_MOB_CLIENT_PRE_MOVEFrom base of /client/Move(): (new_loc, direction)
COMSIG_MOB_CLIENT_BLOCK_PRE_MOVEShould always match COMPONENT_MOVABLE_BLOCK_PRE_MOVE as these are interchangeable and used to block movement.
MOVE_ARG_NEW_LOCThe argument of move_args which corresponds to the loc we're moving to
MOVE_ARG_DIRECTIONThe arugment of move_args which dictates our movement direction
COMSIG_MOB_CLIENT_MOVEDFrom base of /client/Move(): (direction, old_dir)
COMSIG_MOB_CLIENT_CHANGE_VIEWFrom base of /client/proc/change_view() (mob/source, new_size)
COMSIG_MOB_RESET_PERSPECTIVEFrom base of /mob/proc/reset_perspective() : ()
COMSIG_CLIENT_SET_EYEfrom base of /client/proc/set_eye() : (atom/old_eye, atom/new_eye)
COMSIG_VIEWDATA_UPDATEfrom base of /datum/view_data/proc/afterViewChange() : (view)
COMSIG_DO_AFTER_BEGANSent from /proc/do_after if someone starts a do_after action bar.
COMSIG_DO_AFTER_ENDEDSent from /proc/do_after once a do_after action completes, whether via the bar filling or via interruption.
COMSIG_MOB_MIND_TRANSFERRED_INTOfrom mind/transfer_to. Sent to the receiving mob.
COMSIG_MOB_MIND_TRANSFERRED_OUT_OFfrom mind/transfer_from. Sent to the mob the mind is being transferred out of.
COMSIG_MOB_GHOSTIZEDFrom /mob/proc/ghostize() Called when a mob sucessfully ghosts
COMSIG_MOB_TRIED_ACCESSfrom base of obj/allowed(mob/M): (/obj) returns ACCESS_ALLOWED if mob has id access to the obj
COMSIG_MOB_RESTRICT_MAGICfrom base of mob/can_cast_magic(): (mob/user, magic_flags, charge_cost)
COMSIG_MOB_RECEIVE_MAGICfrom base of mob/can_block_magic(): (mob/user, casted_magic_flags, charge_cost)
COMSIG_MOB_HUD_CREATEDfrom base of mob/create_mob_hud(): ()
COMSIG_MOB_HUD_REFRESHEDfrom base of hud/show_to(): (datum/hud/hud_source)
COMSIG_MOB_SIGHT_CHANGEfrom base of mob/set_sight(): (new_sight, old_sight)
COMSIG_MOB_SEE_INVIS_CHANGEfrom base of mob/set_invis_see(): (new_invis, old_invis)
COMSIG_MOB_APPLY_DAMAGE_MODIFIERSfrom /mob/living/proc/apply_damage(): (list/damage_mods, damage, damagetype, def_zone, sharpness, attack_direction, attacking_item) allows you to add multiplicative damage modifiers to the damage mods argument to adjust incoming damage not sent if the apply damage call was forced
COMSIG_MOB_APPLY_DAMAGEfrom base of /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, wound_bonus, bare_wound_bonus, sharpness, attack_direction, attacking_item)
COMSIG_MOB_AFTER_APPLY_DAMAGEfrom /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, wound_bonus, bare_wound_bonus, sharpness, attack_direction, attacking_item) works like above but after the damage is actually inflicted
COMSIG_MOB_ATTACK_ALIENfrom base of /mob/living/attack_alien(): (user)
COMSIG_MOB_THROWfrom base of /mob/throw_item(): (atom/target)
COMSIG_MOB_EXAMININGfrom base of /mob/verb/examinate(): (atom/target, list/examine_strings)
COMSIG_MOB_EXAMINATEfrom base of /mob/verb/examinate(): (atom/target)
COMSIG_MOB_EYECONTACTfrom /mob/living/handle_eye_contact(): (mob/living/other_mob)
COMSIG_BLOCK_EYECONTACTreturn this if you want to block printing this message to this person, if you want to print your own (does not affect the other person's message)
COMSIG_MOB_UPDATE_SIGHTfrom base of /mob/update_sight(): ()
COMSIG_MOB_SAYfrom /mob/living/say(): ()
COMSIG_MOB_DEADSAYfrom /mob/say_dead(): (mob/speaker, message)
COMSIG_MOB_EMOTEfrom /mob/living/emote(): ()
COMSIG_MOB_SWAPPING_HANDSfrom base of mob/swap_hand(): (obj/item/currently_held_item)
COMSIG_MOB_SWAP_HANDSfrom base of mob/swap_hand(): () Performed after the hands are swapped.
COMSIG_MOB_POINTEDfrom base of /mob/verb/pointed: (atom/A)
COMSIG_TRY_WIRES_INTERACTMob is trying to open the wires of a target /atom, from /datum/wires/interactable(): (atom/target)
COMSIG_MOB_PRE_EMOTEDMob is trying to emote, from /datum/emote/proc/run_emote(): (key, params, type_override, intentional)
COMSIG_MOB_CLIENT_LOGINsent when a mob/login() finishes: (client)
COMSIG_TRY_STRIPCalled on user, from base of /datum/strippable_item/try_(un)equip() (atom/target, obj/item/equipping?)
COMSIG_MOB_CREAMEDFrom /datum/component/creamed/Initialize()
COMSIG_MOB_CLUMSY_SHOOT_FOOTFrom /obj/item/gun/proc/check_botched()
COMSIG_TABLE_SLAMMEDfrom /obj/item/hand_item/slapper/attack_atom(): (source=obj/structure/table/slammed_table, mob/living/slammer)
COMSIG_MOB_ATTACK_HANDfrom base of atom/attack_hand(): (mob/user, modifiers)
COMSIG_MOB_ITEM_ATTACKfrom base of /obj/item/attack(): (mob/M, mob/user)
COMSIG_MOB_ITEM_AFTERATTACKfrom base of obj/item/afterattack(): (atom/target, obj/item/weapon, proximity_flag, click_parameters)
COMSIG_MOB_ITEM_AFTERATTACK_SECONDARYfrom base of obj/item/afterattack_secondary(): (atom/target, obj/item/weapon, proximity_flag, click_parameters)
COMSIG_MOB_ATTACK_RANGEDfrom base of mob/RangedAttack(): (atom/A, modifiers)
COMSIG_MOB_ATTACK_RANGED_SECONDARYfrom base of mob/ranged_secondary_attack(): (atom/target, modifiers)
COMSIG_MOB_CTRL_CLICKEDFrom base of atom/ctrl_click(): (atom/A)
COMSIG_MOB_MOVESPEED_UPDATEDFrom base of mob/update_movespeed():area
COMSIG_MOB_SELECTED_ZONE_SETFrom /atom/movable/screen/zone_sel/proc/set_selected_zone. Fires when the user has changed their selected body target.
COMSIG_MOB_AUTOMUTE_CHECKfrom base of [/client/proc/handle_spam_prevention] (message, mute_type)
WAIVE_AUTOMUTE_CHECKPrevents the automute system checking this client for repeated messages.
COMSIG_MOB_MINEDFrom base of /turf/closed/mineral/proc/gets_drilled(): (turf/closed/mineral/rock, give_exp)
COMSIG_MOB_DROVE_MECHSent by pilot of mech in base of /obj/vehicle/sealed/mecha/relaymove(): (/obj/vehicle/sealed/mecha/mech)
COMSIG_MOB_USED_MECH_EQUIPMENTSent by pilot of mech in /obj/vehicle/sealed/mecha/on_mouseclick when using mech equipment : (/obj/vehicle/sealed/mecha/mech)
COMSIG_MOB_USED_MECH_MELEESent by pilot of mech in /obj/vehicle/sealed/mecha/on_mouseclick when triggering mech punch : (/obj/vehicle/sealed/mecha/mech)
COMSIG_MOB_FLASHEDfrom living/flash_act(), when a mob is successfully flashed.
COMSIG_MOB_PRE_FLASHED_CARBONfrom /obj/item/assembly/flash/flash_carbon, to the mob flashing another carbon
DEVIATION_OVERRIDE_FULLReturn to override deviation to be full deviation (fail the flash, usually)
DEVIATION_OVERRIDE_PARTIALReturn to override deviation to be partial deviation
DEVIATION_OVERRIDE_NONEReturn to override deviation to be no deviation
STOP_FLASHReturn to stop the flash entirely
COMSIG_MOB_SUCCESSFUL_FLASHED_CARBONfrom /obj/item/assembly/flash/flash_carbon, to the mob flashing another carbon (mob/living/carbon/flashed, obj/item/assembly/flash/flash, deviation (from code/__DEFINES/mobs.dm))
COMSIG_MOB_GET_STATUS_TAB_ITEMSfrom mob/get_status_tab_items(): (list/items)
COMSIG_HUMAN_EQUIPPING_ITEMfrom /mob/living/carbon/human/can_equip(): (mob/living/carbon/human/source_human, obj/item/equip_target, slot)
COMPONENT_BLOCK_EQUIPcancels the equip.
COMSIG_MOB_DROPPING_ITEMfrom mob/proc/dropItemToGround()
COMSIG_PRE_MOB_CHANGED_TYPEfrom /mob/proc/change_mob_type() : ()
COMSIG_MOB_CHANGED_TYPEfrom /mob/proc/change_mob_type_unchecked() : ()
COMSIG_MOB_SLIPPEDfrom /mob/proc/slip(): (knockdown_amonut, obj/slipped_on, lube_flags [mobs.dm], paralyze, force_drop)
COMSIG_MOB_KEYDOWNfrom /mob/proc/key_down(): (key, client/client, full_key)

Define Details

COMPONENT_BLOCK_EQUIP

cancels the equip.

COMPONENT_MOB_BOT_BLOCK_PRE_STEP

Should always match COMPONENT_MOVABLE_BLOCK_PRE_MOVE as these are interchangeable and used to block movement.

COMSIG_BLOCK_EYECONTACT

return this if you want to block printing this message to this person, if you want to print your own (does not affect the other person's message)

COMSIG_CLIENT_SET_EYE

from base of /client/proc/set_eye() : (atom/old_eye, atom/new_eye)

COMSIG_DO_AFTER_BEGAN

Sent from /proc/do_after if someone starts a do_after action bar.

COMSIG_DO_AFTER_ENDED

Sent from /proc/do_after once a do_after action completes, whether via the bar filling or via interruption.

COMSIG_HUMAN_EQUIPPING_ITEM

from /mob/living/carbon/human/can_equip(): (mob/living/carbon/human/source_human, obj/item/equip_target, slot)

COMSIG_MOB_AFTER_APPLY_DAMAGE

from /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, wound_bonus, bare_wound_bonus, sharpness, attack_direction, attacking_item) works like above but after the damage is actually inflicted

COMSIG_MOB_ALTCLICKON

from base of mob/AltClickOn(): (atom/A)

COMSIG_MOB_ALTCLICKON_SECONDARY

from base of mob/alt_click_on_secodary(): (atom/A)

COMSIG_MOB_APPLY_DAMAGE

from base of /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, wound_bonus, bare_wound_bonus, sharpness, attack_direction, attacking_item)

COMSIG_MOB_APPLY_DAMAGE_MODIFIERS

from /mob/living/proc/apply_damage(): (list/damage_mods, damage, damagetype, def_zone, sharpness, attack_direction, attacking_item) allows you to add multiplicative damage modifiers to the damage mods argument to adjust incoming damage not sent if the apply damage call was forced

COMSIG_MOB_ATTACK_ALIEN

from base of /mob/living/attack_alien(): (user)

COMSIG_MOB_ATTACK_HAND

from base of atom/attack_hand(): (mob/user, modifiers)

COMSIG_MOB_ATTACK_RANGED

from base of mob/RangedAttack(): (atom/A, modifiers)

COMSIG_MOB_ATTACK_RANGED_SECONDARY

from base of mob/ranged_secondary_attack(): (atom/target, modifiers)

COMSIG_MOB_AUTOMUTE_CHECK

from base of [/client/proc/handle_spam_prevention] (message, mute_type)

COMSIG_MOB_BOT_PRE_STEP

From base of /mob/living/simple_animal/bot/proc/bot_step()

COMSIG_MOB_BOT_STEP

From base of /mob/living/simple_animal/bot/proc/bot_step()

COMSIG_MOB_CHANGED_TYPE

from /mob/proc/change_mob_type_unchecked() : ()

COMSIG_MOB_CLICKON

from base of mob/clickon(): (atom/A, params)

COMSIG_MOB_CLIENT_BLOCK_PRE_LIVING_MOVE

Should we stop the current living movement attempt

COMSIG_MOB_CLIENT_BLOCK_PRE_MOVE

Should always match COMPONENT_MOVABLE_BLOCK_PRE_MOVE as these are interchangeable and used to block movement.

COMSIG_MOB_CLIENT_BLOCK_PRE_NON_LIVING_MOVE

Cancels the move attempt

COMSIG_MOB_CLIENT_CHANGE_VIEW

From base of /client/proc/change_view() (mob/source, new_size)

COMSIG_MOB_CLIENT_LOGIN

sent when a mob/login() finishes: (client)

COMSIG_MOB_CLIENT_MOVED

From base of /client/Move(): (direction, old_dir)

COMSIG_MOB_CLIENT_PRE_LIVING_MOVE

From base of /client/Move(): (list/move_args)

COMSIG_MOB_CLIENT_PRE_MOVE

From base of /client/Move(): (new_loc, direction)

COMSIG_MOB_CLIENT_PRE_NON_LIVING_MOVE

From base of /client/Move(), invoked when a non-living mob is attempting to move: (list/move_args)

COMSIG_MOB_CLUMSY_SHOOT_FOOT

From /obj/item/gun/proc/check_botched()

COMSIG_MOB_CREAMED

From /datum/component/creamed/Initialize()

COMSIG_MOB_CTRL_CLICKED

From base of atom/ctrl_click(): (atom/A)

COMSIG_MOB_DEADSAY

from /mob/say_dead(): (mob/speaker, message)

COMSIG_MOB_DROPPING_ITEM

from mob/proc/dropItemToGround()

COMSIG_MOB_DROVE_MECH

Sent by pilot of mech in base of /obj/vehicle/sealed/mecha/relaymove(): (/obj/vehicle/sealed/mecha/mech)

COMSIG_MOB_EMOTE

from /mob/living/emote(): ()

COMSIG_MOB_EXAMINATE

from base of /mob/verb/examinate(): (atom/target)

COMSIG_MOB_EXAMINING

from base of /mob/verb/examinate(): (atom/target, list/examine_strings)

COMSIG_MOB_EYECONTACT

from /mob/living/handle_eye_contact(): (mob/living/other_mob)

COMSIG_MOB_FLASHED

from living/flash_act(), when a mob is successfully flashed.

COMSIG_MOB_GET_STATUS_TAB_ITEMS

from mob/get_status_tab_items(): (list/items)

COMSIG_MOB_GHOSTIZED

From /mob/proc/ghostize() Called when a mob sucessfully ghosts

COMSIG_MOB_HUD_CREATED

from base of mob/create_mob_hud(): ()

COMSIG_MOB_HUD_REFRESHED

from base of hud/show_to(): (datum/hud/hud_source)

COMSIG_MOB_ITEM_AFTERATTACK

from base of obj/item/afterattack(): (atom/target, obj/item/weapon, proximity_flag, click_parameters)

COMSIG_MOB_ITEM_AFTERATTACK_SECONDARY

from base of obj/item/afterattack_secondary(): (atom/target, obj/item/weapon, proximity_flag, click_parameters)

COMSIG_MOB_ITEM_ATTACK

from base of /obj/item/attack(): (mob/M, mob/user)

COMSIG_MOB_KEYDOWN

from /mob/proc/key_down(): (key, client/client, full_key)

COMSIG_MOB_LOGIN

from base of /mob/Login(): ()

COMSIG_MOB_LOGOUT

from base of /mob/Logout(): ()

COMSIG_MOB_MIDDLECLICKON

from base of mob/MiddleClickOn(): (atom/A)

COMSIG_MOB_MIND_INITIALIZED

from base of /mob/mind_initialize

COMSIG_MOB_MIND_TRANSFERRED_INTO

from mind/transfer_to. Sent to the receiving mob.

COMSIG_MOB_MIND_TRANSFERRED_OUT_OF

from mind/transfer_from. Sent to the mob the mind is being transferred out of.

COMSIG_MOB_MINED

From base of /turf/closed/mineral/proc/gets_drilled(): (turf/closed/mineral/rock, give_exp)

COMSIG_MOB_MOVESPEED_UPDATED

From base of mob/update_movespeed():area

COMSIG_MOB_POINTED

from base of /mob/verb/pointed: (atom/A)

COMSIG_MOB_PRE_EMOTED

Mob is trying to emote, from /datum/emote/proc/run_emote(): (key, params, type_override, intentional)

COMSIG_MOB_PRE_FLASHED_CARBON

from /obj/item/assembly/flash/flash_carbon, to the mob flashing another carbon

COMSIG_MOB_REAGENT_CHECK

from base of mob/reagent_check(): (datum/reagent/chem, seconds_per_tick, times_fired)

COMSIG_MOB_RECEIVE_MAGIC

from base of mob/can_block_magic(): (mob/user, casted_magic_flags, charge_cost)

COMSIG_MOB_RESET_PERSPECTIVE

From base of /mob/proc/reset_perspective() : ()

COMSIG_MOB_RESTRICT_MAGIC

from base of mob/can_cast_magic(): (mob/user, magic_flags, charge_cost)

COMSIG_MOB_SAY

from /mob/living/say(): ()

COMSIG_MOB_SEE_INVIS_CHANGE

from base of mob/set_invis_see(): (new_invis, old_invis)

COMSIG_MOB_SELECTED_ZONE_SET

From /atom/movable/screen/zone_sel/proc/set_selected_zone. Fires when the user has changed their selected body target.

COMSIG_MOB_SIGHT_CHANGE

from base of mob/set_sight(): (new_sight, old_sight)

COMSIG_MOB_SLIPPED

from /mob/proc/slip(): (knockdown_amonut, obj/slipped_on, lube_flags [mobs.dm], paralyze, force_drop)

COMSIG_MOB_STATCHANGE

from base of mob/set_stat(): (new_stat, old_stat)

COMSIG_MOB_STOP_REAGENT_CHECK

stops the reagent check call

COMSIG_MOB_SUCCESSFUL_FLASHED_CARBON

from /obj/item/assembly/flash/flash_carbon, to the mob flashing another carbon (mob/living/carbon/flashed, obj/item/assembly/flash/flash, deviation (from code/__DEFINES/mobs.dm))

COMSIG_MOB_SWAPPING_HANDS

from base of mob/swap_hand(): (obj/item/currently_held_item)

COMSIG_MOB_SWAP_HANDS

from base of mob/swap_hand(): () Performed after the hands are swapped.

COMSIG_MOB_THROW

from base of /mob/throw_item(): (atom/target)

COMSIG_MOB_TRIED_ACCESS

from base of obj/allowed(mob/M): (/obj) returns ACCESS_ALLOWED if mob has id access to the obj

COMSIG_MOB_UPDATE_HELD_ITEMS

From base of /mob/proc/update_held_items

COMSIG_MOB_UPDATE_SIGHT

from base of /mob/update_sight(): ()

COMSIG_MOB_USED_MECH_EQUIPMENT

Sent by pilot of mech in /obj/vehicle/sealed/mecha/on_mouseclick when using mech equipment : (/obj/vehicle/sealed/mecha/mech)

COMSIG_MOB_USED_MECH_MELEE

Sent by pilot of mech in /obj/vehicle/sealed/mecha/on_mouseclick when triggering mech punch : (/obj/vehicle/sealed/mecha/mech)

COMSIG_PRE_MOB_CHANGED_TYPE

from /mob/proc/change_mob_type() : ()

COMSIG_TABLE_SLAMMED

from /obj/item/hand_item/slapper/attack_atom(): (source=obj/structure/table/slammed_table, mob/living/slammer)

COMSIG_TRY_ALT_ACTION

Called on user, from base of /datum/strippable_item/perform_alternate_action() (atom/target, action_key)

COMSIG_TRY_STRIP

Called on user, from base of /datum/strippable_item/try_(un)equip() (atom/target, obj/item/equipping?)

COMSIG_TRY_WIRES_INTERACT

Mob is trying to open the wires of a target /atom, from /datum/wires/interactable(): (atom/target)

COMSIG_VIEWDATA_UPDATE

from base of /datum/view_data/proc/afterViewChange() : (view)

DEVIATION_OVERRIDE_FULL

Return to override deviation to be full deviation (fail the flash, usually)

DEVIATION_OVERRIDE_NONE

Return to override deviation to be no deviation

DEVIATION_OVERRIDE_PARTIAL

Return to override deviation to be partial deviation

MOVE_ARG_DIRECTION

The arugment of move_args which dictates our movement direction

MOVE_ARG_NEW_LOC

The argument of move_args which corresponds to the loc we're moving to

POST_BASIC_MOB_UPDATE_VARSPEED

Called on /basic when updating its speed, from base of /mob/living/basic/update_basic_mob_varspeed(): ()

STOP_FLASH

Return to stop the flash entirely

WAIVE_AUTOMUTE_CHECK

Prevents the automute system checking this client for repeated messages.