gun_module 
MARK: Basic module
Vars | |
| can_detach | Can module be detached. |
|---|---|
| exists_overlay | Exists overlay on gun |
| gun | Attached state variables. |
Procs | |
| attach_without_check | Attaching module to gun without check, use try_attach(/obj/item/gun/target, mob/user) for checks |
| detach_without_check | Detaching module from gun without check, use try_detach(/obj/item/gun/target, mob/user) for checks |
| try_attach | Try attach module to gun, return TRUE if success |
Var Details
can_detach 
Can module be detached.
exists_overlay 
Exists overlay on gun
gun 
Attached state variables.
Proc Details
attach_without_check
Attaching module to gun without check, use try_attach(/obj/item/gun/target, mob/user) for checks
detach_without_check
Detaching module from gun without check, use try_detach(/obj/item/gun/target, mob/user) for checks
try_attach
Try attach module to gun, return TRUE if success