SS1984 - Modules - TypesDefine Details

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

COMSIG_CARBON_SOUNDBANGfrom base of mob/living/carbon/soundbang_act(): (list(intensity))
COMSIG_CARBON_GAIN_ORGANfrom /item/organ/proc/Insert() (/obj/item/organ/)
COMSIG_CARBON_LOSE_ORGANfrom /item/organ/proc/Remove() (/obj/item/organ/)
COMSIG_CARBON_EQUIP_HATfrom /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)
COMSIG_CARBON_UNEQUIP_HATfrom /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)
COMSIG_CARBON_EMBED_RIPdefined twice, in carbon and human's topics, fired when interacting with a valid embedded_object to pull it out (mob/living/carbon/target, /obj/item, /obj/item/bodypart/L)
COMSIG_CARBON_EMBED_REMOVALcalled when removing a given item from a mob, from mob/living/carbon/remove_embedded_object(mob/living/carbon/target, /obj/item)
COMSIG_CARBON_HITBYcalled when something thrown hits a mob, from /mob/living/carbon/human/hitby(mob/living/carbon/target, /obj/item)
COMSIG_CARBON_THROWN_ITEM_CAUGHTFrom /mob/living/carbon/human/hitby()
COMSIG_CARBON_TOGGLE_THROWFrom /mob/living/carbon/toggle_throw_mode()
COMSIG_ON_CARBON_SLIPWhen a carbon slips. Called on /turf/simulated/handle_slip()
COMSIG_CARBON_TRY_PUT_IN_HANDcalled on /carbon when attempting to pick up an item, from base of /mob/living/carbon/put_in_hand_check(obj/item/I, hand_id)
COMPONENT_CARBON_CANT_PUT_IN_HANDCan't pick up
COMPONENT_ITEM_CANT_PUT_IN_HANDCan't pick up
COMSIG_CARBON_ENTER_STAMCRITfrom /mob/living/carbon/enter_stamcrit()
COMSIG_CARBON_APPLY_OVERLAYCalled from apply_overlay(cache_index, overlay)
COMSIG_CARBON_REMOVE_OVERLAYCalled from remove_overlay(cache_index, overlay)
COMPONENT_OVERRIDE_HEALTH_HUDReturn if you override the carbon's or human's health hud with something else
COMSIG_CARBON_CUFF_ATTEMPTEDCalled when someone attempts to cuff a carbon
COMSIG_HUMAN_EARLY_UNARMED_ATTACKfrom mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity)
COMSIG_HUMAN_MELEE_UNARMED_ATTACKfrom mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity)
COMSIG_HUMAN_MELEE_UNARMED_ATTACKBYfrom mob/living/carbon/human/UnarmedAttack(): (mob/living/carbon/human/attacker)
COMSIG_HUMAN_DISARM_HITHit by successful disarm attack (mob/living/carbon/human/attacker,zone_targeted)
COMSIG_JOB_RECEIVEDWhenever EquipRanked is called, called after job is set
COMSIG_HUMAN_NUTRITION_UPDATEFrom /mob/living/carbon/human/proc/try_update_nutrition_level()
COMSIG_HUMAN_NUTRITION_UPDATE_SLOWDOWNFrom /mob/living/carbon/human/proc/update_nutrition_slowdown()
COMSIG_HUMAN_CHANGE_BODY_ACCESSORYFrom mob/living/carbon/human/change_body_accessory(): (mob/living/carbon/human/H, body_accessory_style)
COMSIG_HUMAN_CHANGE_HEAD_ACCESSORYFrom mob/living/carbon/human/change_head_accessory(): (mob/living/carbon/human/H, head_accessory_style)
COMSIG_HUMAN_SUICIDE_ACTFrom mob/living/carbon/human/do_suicide()
COMSIG_HUMAN_REGENERATE_ICONSFrom mob/living/carbon/human/regenerate_icons()
COMSIG_HUMAN_SPECIES_CHANGEDFrom /mob/living/carbon/human/proc/set_species(): (datum/species/old_species)
COMSIG_HUMAN_EARLY_HANDLE_ENVIRONMENTSource: /mob/living/carbon/human/handle_environment(datum/gas_mixture/environment)
COMSIG_HUMAN_UPDATE_BACKFrom mob/living/carbon/human/update_inv_back()
COMSIG_HUMAN_CHECK_SHIELDSfrom /mob/living/carbon/human/proc/check_shields(): (atom/hit_by, damage, attack_text, attack_type, armour_penetration, damage_type)
COMSIG_RANDOM_HAIR_STYLESource: /proc/random_hair_style (mob/living/carbon/human/human, valid_hairstyles, robohead)

Define Details

COMPONENT_CARBON_CANT_PUT_IN_HAND

Can't pick up

COMPONENT_ITEM_CANT_PUT_IN_HAND

Can't pick up

COMPONENT_OVERRIDE_HEALTH_HUD

Return if you override the carbon's or human's health hud with something else

COMSIG_CARBON_APPLY_OVERLAY

Called from apply_overlay(cache_index, overlay)

COMSIG_CARBON_CUFF_ATTEMPTED

Called when someone attempts to cuff a carbon

COMSIG_CARBON_EMBED_REMOVAL

called when removing a given item from a mob, from mob/living/carbon/remove_embedded_object(mob/living/carbon/target, /obj/item)

COMSIG_CARBON_EMBED_RIP

defined twice, in carbon and human's topics, fired when interacting with a valid embedded_object to pull it out (mob/living/carbon/target, /obj/item, /obj/item/bodypart/L)

COMSIG_CARBON_ENTER_STAMCRIT

from /mob/living/carbon/enter_stamcrit()

COMSIG_CARBON_EQUIP_HAT

from /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)

COMSIG_CARBON_GAIN_ORGAN

from /item/organ/proc/Insert() (/obj/item/organ/)

COMSIG_CARBON_HITBY

called when something thrown hits a mob, from /mob/living/carbon/human/hitby(mob/living/carbon/target, /obj/item)

COMSIG_CARBON_LOSE_ORGAN

from /item/organ/proc/Remove() (/obj/item/organ/)

COMSIG_CARBON_REMOVE_OVERLAY

Called from remove_overlay(cache_index, overlay)

COMSIG_CARBON_SOUNDBANG

from base of mob/living/carbon/soundbang_act(): (list(intensity))

COMSIG_CARBON_THROWN_ITEM_CAUGHT

From /mob/living/carbon/human/hitby()

COMSIG_CARBON_TOGGLE_THROW

From /mob/living/carbon/toggle_throw_mode()

COMSIG_CARBON_TRY_PUT_IN_HAND

called on /carbon when attempting to pick up an item, from base of /mob/living/carbon/put_in_hand_check(obj/item/I, hand_id)

COMSIG_CARBON_UNEQUIP_HAT

from /mob/living/carbon/doUnEquip(obj/item/I, force, newloc, no_move, invdrop, silent)

COMSIG_HUMAN_CHANGE_BODY_ACCESSORY

From mob/living/carbon/human/change_body_accessory(): (mob/living/carbon/human/H, body_accessory_style)

COMSIG_HUMAN_CHANGE_HEAD_ACCESSORY

From mob/living/carbon/human/change_head_accessory(): (mob/living/carbon/human/H, head_accessory_style)

COMSIG_HUMAN_CHECK_SHIELDS

from /mob/living/carbon/human/proc/check_shields(): (atom/hit_by, damage, attack_text, attack_type, armour_penetration, damage_type)

COMSIG_HUMAN_DISARM_HIT

Hit by successful disarm attack (mob/living/carbon/human/attacker,zone_targeted)

COMSIG_HUMAN_EARLY_HANDLE_ENVIRONMENT

Source: /mob/living/carbon/human/handle_environment(datum/gas_mixture/environment)

COMSIG_HUMAN_EARLY_UNARMED_ATTACK

from mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity)

COMSIG_HUMAN_MELEE_UNARMED_ATTACK

from mob/living/carbon/human/UnarmedAttack(): (atom/target, proximity)

COMSIG_HUMAN_MELEE_UNARMED_ATTACKBY

from mob/living/carbon/human/UnarmedAttack(): (mob/living/carbon/human/attacker)

COMSIG_HUMAN_NUTRITION_UPDATE

From /mob/living/carbon/human/proc/try_update_nutrition_level()

COMSIG_HUMAN_NUTRITION_UPDATE_SLOWDOWN

From /mob/living/carbon/human/proc/update_nutrition_slowdown()

COMSIG_HUMAN_REGENERATE_ICONS

From mob/living/carbon/human/regenerate_icons()

COMSIG_HUMAN_SPECIES_CHANGED

From /mob/living/carbon/human/proc/set_species(): (datum/species/old_species)

COMSIG_HUMAN_SUICIDE_ACT

From mob/living/carbon/human/do_suicide()

COMSIG_HUMAN_UPDATE_BACK

From mob/living/carbon/human/update_inv_back()

COMSIG_JOB_RECEIVED

Whenever EquipRanked is called, called after job is set

COMSIG_ON_CARBON_SLIP

When a carbon slips. Called on /turf/simulated/handle_slip()

COMSIG_RANDOM_HAIR_STYLE

Source: /proc/random_hair_style (mob/living/carbon/human/human, valid_hairstyles, robohead)