byond - Modules - TypesVar Details - Proc Details

attachable item

Vars

gun_traitsList of traits to be given to the gun itself.
traits_to_giveAn assoc list in the format list(/datum/element/bullet_trait_to_give = list(...args)) that will be given to a projectile with the current ammo datum

Procs

unload_attachmentReturns TRUE if its functionality is successfully used, FALSE if gun's own unloading should proceed instead.

Var Details

gun_traits

List of traits to be given to the gun itself.

traits_to_give

An assoc list in the format list(/datum/element/bullet_trait_to_give = list(...args)) that will be given to a projectile with the current ammo datum

Proc Details

unload_attachment

Returns TRUE if its functionality is successfully used, FALSE if gun's own unloading should proceed instead.