code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm0](git.png)
COMSIG_ATOM_ATTACKBY | from base of atom/attackby(): (/obj/item, /mob/living, params) |
---|---|
COMSIG_ATOM_ATTACKBY_SECONDARY | From base of [atom/proc/attacby_secondary()]: (/obj/item/weapon, /mob/user, params) |
COMSIG_ATOM_AFTER_ATTACKEDBY | From [/item/attack()], sent by an atom which was just attacked by an item: (/obj/item/weapon, /mob/user, proximity_flag, click_parameters) |
COMSIG_ATOM_ATTACK_HAND_SECONDARY | From base of /atom/proc/attack_hand_secondary: (mob/user, list/modifiers) - Called when the atom receives a secondary unarmed attack. |
COMPONENT_NO_AFTERATTACK | Return this in response if you don't want afterattack to be called |
COMSIG_ATOM_HULK_ATTACK | from base of atom/attack_hulk(): (/mob/living/carbon/human) |
COMSIG_ATOM_ATTACK_ANIMAL | from base of atom/animal_attack(): (/mob/user) |
COMSIG_ATOM_BREAK | from /atom/proc/atom_break: (damage_flag) |
COMSIG_ATOM_FIX | from base of /atom/proc/atom_fix: () |
COMSIG_ATOM_DESTRUCTION | from base of /atom/proc/atom_destruction: (damage_flag) |
COMSIG_ATOM_EXTINGUISH | from base of /atom/proc/extinguish |
COMSIG_ATOM_INTEGRITY_CHANGED | from base of /atom/proc/update_integrity: (old_value, new_value) |
COMSIG_ATOM_TAKE_DAMAGE | from base of /atom/proc/take_damage: (damage_amount, damage_type, damage_flag, sound_effect, attack_dir, aurmor_penetration) |
COMPONENT_NO_TAKE_DAMAGE | Return bitflags for the above signal which prevents the atom taking any damage. |
COMPONENT_CANCEL_ATTACK_CHAIN | tool_act -> pre_attack -> target.attackby (item.attack) -> afterattack Ends the attack chain. If sent early might cause posterior attacks not to happen. |
COMPONENT_SKIP_ATTACK | Skips the specific attack step, continuing for the next one to happen. |
COMSIG_ATOM_ATTACK_GHOST | from base of atom/attack_ghost(): (mob/dead/observer/ghost) |
COMSIG_ATOM_ATTACK_HAND | from base of atom/attack_hand(): (mob/user, list/modifiers) |
COMSIG_ATOM_ATTACK_PAW | from base of atom/attack_paw(): (mob/user) |
COMSIG_ATOM_ATTACK_MECH | from base of atom/mech_melee_attack(): (obj/vehicle/sealed/mecha/mecha_attacker, mob/living/user) |
COMSIG_ATOM_ATTACK_ROBOT | from base of atom/attack_robot(): (mob/user) |
COMSIG_ATOM_ATTACK_ROBOT_SECONDARY | from base of atom/attack_robot_secondary(): (mob/user) |
COMSIG_ATOM_WAS_ATTACKED | from relay_attackers element: (atom/attacker, attack_flags) |
COMSIG_PRE_TILT_AND_CRUSH | Called before a atom gets something tilted on them. If [COMPONENT_IMMUNE_TO_TILT_AND_CRUSH] is returned in a signal, the atom will be unaffected: (atom/target, atom/source) |
COMSIG_POST_TILT_AND_CRUSH | Called when a atom gets something tilted on them: (atom/target, atom/source) |
COMSIG_ATOM_SPLASHED | Called when an atom is splashed with something: (atom/source) |
ATTACKER_STAMINA_ATTACK | The damage type of the weapon projectile is non-lethal stamina |
ATTACKER_SHOVING | the attacker is shoving the source |
ATTACKER_DAMAGING_ATTACK | The attack is a damaging-type attack |
COMSIG_ATOM_HOLYATTACK | Called on the atom being hit, from /datum/component/anti_magic/on_attack() : (obj/item/weapon, mob/user, antimagic_flags) |
Define Details
ATTACKER_DAMAGING_ATTACK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 69](git.png)
The attack is a damaging-type attack
ATTACKER_SHOVING ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 67](git.png)
the attacker is shoving the source
ATTACKER_STAMINA_ATTACK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 65](git.png)
The damage type of the weapon projectile is non-lethal stamina
COMPONENT_CANCEL_ATTACK_CHAIN ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 39](git.png)
tool_act -> pre_attack -> target.attackby (item.attack) -> afterattack Ends the attack chain. If sent early might cause posterior attacks not to happen.
COMPONENT_NO_AFTERATTACK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 14](git.png)
Return this in response if you don't want afterattack to be called
COMPONENT_NO_TAKE_DAMAGE ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 35](git.png)
Return bitflags for the above signal which prevents the atom taking any damage.
COMPONENT_SKIP_ATTACK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 41](git.png)
Skips the specific attack step, continuing for the next one to happen.
COMSIG_ATOM_AFTER_ATTACKEDBY ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 10](git.png)
From [/item/attack()], sent by an atom which was just attacked by an item: (/obj/item/weapon, /mob/user, proximity_flag, click_parameters)
COMSIG_ATOM_ATTACKBY ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 6](git.png)
from base of atom/attackby(): (/obj/item, /mob/living, params)
COMSIG_ATOM_ATTACKBY_SECONDARY ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 8](git.png)
From base of [atom/proc/attacby_secondary()]: (/obj/item/weapon, /mob/user, params)
COMSIG_ATOM_ATTACK_ANIMAL ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 18](git.png)
from base of atom/animal_attack(): (/mob/user)
COMSIG_ATOM_ATTACK_GHOST ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 43](git.png)
from base of atom/attack_ghost(): (mob/dead/observer/ghost)
COMSIG_ATOM_ATTACK_HAND ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 45](git.png)
from base of atom/attack_hand(): (mob/user, list/modifiers)
COMSIG_ATOM_ATTACK_HAND_SECONDARY ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 12](git.png)
From base of /atom/proc/attack_hand_secondary: (mob/user, list/modifiers) - Called when the atom receives a secondary unarmed attack.
COMSIG_ATOM_ATTACK_MECH ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 49](git.png)
from base of atom/mech_melee_attack(): (obj/vehicle/sealed/mecha/mecha_attacker, mob/living/user)
COMSIG_ATOM_ATTACK_PAW ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 47](git.png)
from base of atom/attack_paw(): (mob/user)
COMSIG_ATOM_ATTACK_ROBOT ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 51](git.png)
from base of atom/attack_robot(): (mob/user)
COMSIG_ATOM_ATTACK_ROBOT_SECONDARY ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 53](git.png)
from base of atom/attack_robot_secondary(): (mob/user)
COMSIG_ATOM_BREAK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 23](git.png)
from /atom/proc/atom_break: (damage_flag)
COMSIG_ATOM_DESTRUCTION ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 27](git.png)
from base of /atom/proc/atom_destruction: (damage_flag)
COMSIG_ATOM_EXTINGUISH ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 29](git.png)
from base of /atom/proc/extinguish
COMSIG_ATOM_FIX ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 25](git.png)
from base of /atom/proc/atom_fix: ()
COMSIG_ATOM_HOLYATTACK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 72](git.png)
Called on the atom being hit, from /datum/component/anti_magic/on_attack() : (obj/item/weapon, mob/user, antimagic_flags)
COMSIG_ATOM_HULK_ATTACK ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 16](git.png)
from base of atom/attack_hulk(): (/mob/living/carbon/human)
COMSIG_ATOM_INTEGRITY_CHANGED ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 31](git.png)
from base of /atom/proc/update_integrity: (old_value, new_value)
COMSIG_ATOM_SPLASHED ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 62](git.png)
Called when an atom is splashed with something: (atom/source)
COMSIG_ATOM_TAKE_DAMAGE ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 33](git.png)
from base of /atom/proc/take_damage: (damage_amount, damage_type, damage_flag, sound_effect, attack_dir, aurmor_penetration)
COMSIG_ATOM_WAS_ATTACKED ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 55](git.png)
from relay_attackers element: (atom/attacker, attack_flags)
COMSIG_POST_TILT_AND_CRUSH ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 60](git.png)
Called when a atom gets something tilted on them: (atom/target, atom/source)
COMSIG_PRE_TILT_AND_CRUSH ![code/__DEFINES/dcs/signals/signals_atom/signals_atom_attack.dm 57](git.png)
Called before a atom gets something tilted on them. If [COMPONENT_IMMUNE_TO_TILT_AND_CRUSH] is returned in a signal, the atom will be unaffected: (atom/target, atom/source)