code/__DEFINES/dcs/signals/signals_mob/signals_mob.dm
COMSIG_TRY_ALT_ACTION | Called on user, from base of /datum/strippable_item/alternate_action() (atom/target) |
---|---|
POST_BASIC_MOB_UPDATE_VARSPEED | Called on /basic when updating its speed, from base of /mob/living/basic/update_basic_mob_varspeed(): () |
COMSIG_MOB_LOGIN | from base of /mob/Login(): () |
COMSIG_MOB_LOGOUT | from base of /mob/Logout(): () |
COMSIG_MOB_MIND_INITIALIZED | from base of /mob/mind_initialize |
COMSIG_MOB_STATCHANGE | from base of mob/set_stat(): (new_stat, old_stat) |
COMSIG_MOB_CLICKON | from base of mob/clickon(): (atom/A, params) |
COMSIG_MOB_MIDDLECLICKON | from base of mob/MiddleClickOn(): (atom/A) |
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_BOT_PRE_STEP | From base of /mob/living/simple_animal/bot/proc/bot_step() |
COMPONENT_MOB_BOT_BLOCK_PRE_STEP | Should always match COMPONENT_MOVABLE_BLOCK_PRE_MOVE as these are interchangeable and used to block movement. |
COMSIG_MOB_BOT_STEP | From base of /mob/living/simple_animal/bot/proc/bot_step() |
COMSIG_MOB_CLIENT_PRE_LIVING_MOVE | From base of /client/Move() |
COMSIG_MOB_CLIENT_BLOCK_PRE_LIVING_MOVE | Should we stop the current living movement attempt |
COMSIG_MOB_CLIENT_PRE_MOVE | From base of /client/Move(): (list/move_args) |
COMSIG_MOB_CLIENT_BLOCK_PRE_MOVE | Should always match COMPONENT_MOVABLE_BLOCK_PRE_MOVE as these are interchangeable and used to block movement. |
MOVE_ARG_NEW_LOC | The argument of move_args which corresponds to the loc we're moving to |
MOVE_ARG_DIRECTION | The arugment of move_args which dictates our movement direction |
COMSIG_MOB_CLIENT_MOVED | From base of /client/Move() |
COMSIG_MOB_CLIENT_CHANGE_VIEW | From base of /client/proc/change_view() (mob/source, new_size) |
COMSIG_MOB_RESET_PERSPECTIVE | From base of /mob/proc/reset_perspective() : () |
COMSIG_CLIENT_SET_EYE | from base of /client/proc/set_eye() : (atom/old_eye, atom/new_eye) |
COMSIG_VIEWDATA_UPDATE | from base of /datum/view_data/proc/afterViewChange() : (view) |
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_MOB_MIND_TRANSFERRED_INTO | from mind/transfer_to. Sent to the receiving mob. |
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_RESTRICT_MAGIC | from base of mob/can_cast_magic(): (mob/user, magic_flags, charge_cost) |
COMSIG_MOB_RECEIVE_MAGIC | from base of mob/can_block_magic(): (mob/user, casted_magic_flags, charge_cost) |
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_SIGHT_CHANGE | from base of mob/set_sight(): (new_sight, old_sight) |
COMSIG_MOB_SEE_INVIS_CHANGE | from base of mob/set_invis_see(): (new_invis, old_invis) |
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) |
COMSIG_MOB_APPLY_HEALING | from adjust procs and bodypart heal_damage(): (amount, damtype) |
COMSIG_MOB_ATTACK_ALIEN | from base of /mob/living/attack_alien(): (user) |
COMSIG_MOB_THROW | from base of /mob/throw_item(): (atom/target) |
COMSIG_MOB_TABLING | from base of /obj/structure/table_place() and table_push(): (mob/living/user, mob/living/pushed_mob) |
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_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_MOB_UPDATE_SIGHT | from base of /mob/update_sight(): () |
COMSIG_MOB_SAY | from /mob/living/say(): () |
COMSIG_MOB_DEADSAY | from /mob/say_dead(): (mob/speaker, message) |
COMSIG_MOB_EMOTE | from /mob/living/emote(): () |
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_POINTED | from base of /mob/verb/pointed: (atom/A) |
COMSIG_MOB_PULL | from base of /mob/living/start_pulling: (atom/movable/AM, state, force) |
COMSIG_TRY_WIRES_INTERACT | Mob is trying to open the wires of a target /atom, from /datum/wires/interactable(): (atom/target) |
COMSIG_MOB_CLIENT_LOGIN | sent when a mob/login() finishes: (client) |
COMSIG_TRY_STRIP | Called on user, from base of /datum/strippable_item/try_(un)equip() (atom/target, obj/item/equipping?) |
COMSIG_MOB_QUICK_EQUIP | Called on user by /mob/verb/quick_equip() (atom/target, obj/item/equipping?) |
COMPONENT_BLOCK_QUICK_EQUIP | return this if you want to stop the rest of the quick equip logic |
COMSIG_MOB_CREAMED | From /datum/component/creamed/Initialize() |
COMSIG_MOB_CLUMSY_SHOOT_FOOT | From /obj/item/gun/proc/check_botched() |
COMSIG_TABLE_SLAMMED | from /obj/item/hand_item/slapper/attack_atom(): (source=obj/structure/table/slammed_table, mob/living/slammer) |
COMSIG_MOB_ATTACK_HAND | from base of atom/attack_hand(): (mob/user, modifiers) |
COMSIG_MOB_ITEM_ATTACK | from base of /obj/item/attack(): (mob/M, mob/user) |
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_QDELETED | from base of obj/item/attack_qdeleted(): (atom/target, mob/user, proximity_flag, click_parameters) |
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_CTRL_CLICKED | From base of atom/ctrl_click(): (atom/A) |
COMSIG_MOB_MOVESPEED_UPDATED | From base of mob/update_movespeed():area |
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_AUTOMUTE_CHECK | from base of [/client/proc/handle_spam_prevention] (message, mute_type) |
WAIVE_AUTOMUTE_CHECK | Prevents the automute system checking this client for repeated messages. |
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) |
Define Details
COMPONENT_BLOCK_QUICK_EQUIP
return this if you want to stop the rest of the quick equip logic
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_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)
COMSIG_MOB_APPLY_HEALING
from adjust procs and bodypart heal_damage(): (amount, damtype)
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_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_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_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_INITIALIZED
from base of /mob/mind_initialize
COMSIG_MOB_MIND_TRANSFERRED_INTO
from mind/transfer_to. Sent to the receiving mob.
COMSIG_MOB_MOVESPEED_UPDATED
From base of mob/update_movespeed():area
COMSIG_MOB_POINTED
from base of /mob/verb/pointed: (atom/A)
COMSIG_MOB_PULL
from base of /mob/living/start_pulling: (atom/movable/AM, state, force)
COMSIG_MOB_QUICK_EQUIP
Called on user by /mob/verb/quick_equip() (atom/target, obj/item/equipping?)
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_STATCHANGE
from base of mob/set_stat(): (new_stat, old_stat)
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_TABLING
from base of /obj/structure/table_place() and table_push(): (mob/living/user, mob/living/pushed_mob)
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_atom(): (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.