gun

Vars | |
pinless | True if a gun dosen't need a pin, mostly used for abstract guns like tentacles and meathooks |
---|---|
projectile_damage_multiplier | Just 'slightly' snowflakey way to modify projectile damage for projectiles fired from this gun. |
Procs | |
clear_suppressor | Clears var and updates icon. In the case of ballistic weapons, also updates the gun's weight. |
set_gun_light | Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd. |
Var Details
pinless

True if a gun dosen't need a pin, mostly used for abstract guns like tentacles and meathooks
projectile_damage_multiplier

Just 'slightly' snowflakey way to modify projectile damage for projectiles fired from this gun.
Proc Details
clear_suppressor
Clears var and updates icon. In the case of ballistic weapons, also updates the gun's weight.
set_gun_light
Swaps the gun's seclight, dropping the old seclight if it has not been qdel'd.
Returns the former gun_light that has now been replaced by this proc. Arguments:
- new_light - The new light to attach to the weapon. Can be null, which will mean the old light is removed with no replacement.