byond - Modules - TypesVar Details - Proc Details

/obj/item/attachable/attached_gun

Vars

ammoAmmo to fire the attachment with
targetCurrent target we're firing at
traits_to_give_attachedAn assoc list in the format list(/datum/element/bullet_trait_to_give = list(...args)) that will be given to the projectiles of the attached gun

Procs

clean_targetSet the target to its turf, so we keep shooting even when it was qdeled
set_targetsetter for target

Var Details

ammo

Ammo to fire the attachment with

target

Current target we're firing at

traits_to_give_attached

An assoc list in the format list(/datum/element/bullet_trait_to_give = list(...args)) that will be given to the projectiles of the attached gun

Proc Details

clean_target

Set the target to its turf, so we keep shooting even when it was qdeled

set_target

setter for target