/obj/item/attachable/attached_gun

Vars | |
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 |
Procs | |
clean_target | Set the target to its turf, so we keep shooting even when it was qdeled |
set_target | setter 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