byond - Modules - TypesDefine Details

code/__DEFINES/dcs/signals/atom/signals_gun.dm

COMSIG_GUN_RECALCULATE_ATTACHMENT_BONUSESfrom /obj/item/weapon/gun/proc/recalculate_attachment_bonuses() : ()
COMSIG_GUN_INTERRUPT_FIREfrom /obj/item/weapon/gun/proc/load_into_chamber() : ()
COMSIG_GUN_BEFORE_FIRECalled before a gun fires a projectile, note NOT point blanks, /obj/item/weapon/gun/proc/handle_fire()
COMSIG_GUN_ALT_IFF_TOGGLEDCalled when IFF is toggled on or off

Define Details

COMSIG_GUN_ALT_IFF_TOGGLED

Called when IFF is toggled on or off

COMSIG_GUN_BEFORE_FIRE

Called before a gun fires a projectile, note NOT point blanks, /obj/item/weapon/gun/proc/handle_fire()

COMSIG_GUN_INTERRUPT_FIRE

from /obj/item/weapon/gun/proc/load_into_chamber() : ()

COMSIG_GUN_RECALCULATE_ATTACHMENT_BONUSES

from /obj/item/weapon/gun/proc/recalculate_attachment_bonuses() : ()