SS1984 - Modules - Types — Var Details - Proc Details

gun_module

MARK: Basic module

Vars

can_detachCan module be detached.
exists_overlayExists overlay on gun
gunAttached state variables.

Procs

attach_without_checkAttaching module to gun without check, use try_attach(/obj/item/gun/target, mob/user) for checks
detach_without_checkDetaching module from gun without check, use try_detach(/obj/item/gun/target, mob/user) for checks
try_attachTry 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