Daedalus Dock - 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/alternate_action() (atom/target)
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_STATCHANGEfrom base of mob/set_stat(): (new_stat, old_stat)
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_CLIENT_PRE_LIVING_MOVEFrom base of /client/Move()
COMSIG_MOB_CLIENT_BLOCK_PRE_LIVING_MOVEShould we stop the current living movement attempt
COMSIG_MOB_CLIENT_PRE_MOVEFrom base of /client/Move(): (list/move_args)
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()
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() (mob/source)
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_MOB_MIND_TRANSFERRED_INTOfrom mind/transfer_to. Sent to the receiving mob.
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_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, sharpness, attack_direction, attacking_item)
COMSIG_MOB_AFTER_APPLY_DAMAGEfrom /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, 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_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_SWAP_HANDSfrom base of mob/swap_hand(): (obj/item)
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_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_obj(): (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_ITEM_ATTACK_QDELETEDfrom base of obj/item/attack_qdeleted(): (atom/target, mob/user, 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_MOTION_SICKNESS_UPDATEfrom base of /datum/preference/toggle/motion_sickness (new_value)

Define Details

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_MOB_AFTER_APPLY_DAMAGE

from /mob/living/proc/apply_damage(): (damage, damagetype, def_zone, blocked, 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, 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_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_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()

COMSIG_MOB_CLIENT_PRE_LIVING_MOVE

From base of /client/Move()

COMSIG_MOB_CLIENT_PRE_MOVE

From base of /client/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_EMOTE

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

COMSIG_MOB_EXAMINATE

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

COMSIG_MOB_EYECONTACT

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

COMSIG_MOB_HUD_CREATED

from base of mob/create_mob_hud(): ()

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_ITEM_ATTACK_QDELETED

from base of obj/item/attack_qdeleted(): (atom/target, mob/user, proximity_flag, click_parameters)

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_TRANSFERRED_INTO

from mind/transfer_to. Sent to the receiving mob.

COMSIG_MOB_MOTION_SICKNESS_UPDATE

from base of /datum/preference/toggle/motion_sickness (new_value)

COMSIG_MOB_MOVESPEED_UPDATED

From base of mob/update_movespeed():area

COMSIG_MOB_POINTED

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

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() (mob/source)

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_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_STATCHANGE

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

COMSIG_MOB_SWAP_HANDS

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

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_SIGHT

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

COMSIG_TABLE_SLAMMED

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

COMSIG_TRY_ALT_ACTION

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

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)

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(): ()

WAIVE_AUTOMUTE_CHECK

Prevents the automute system checking this client for repeated messages.