/obj/item/weapon/gun/projectile/afterattack(atom/target as mob|obj|turf|area, mob/living/user as mob|obj, flag, struggle = 0)
..()
if(!chambered && stored_magazine && !stored_magazine.ammo_count() && gun_flags &AUTOMAGDROP) //auto_mag_drop decides whether or not the mag is dropped once it empties
RemoveMag(user)
playsound(user, 'sound/weapons/smg_empty_alarm.ogg', 40, 1)
return
this is not the place to do playsound(user, 'sound/weapons/smg_empty_alarm.ogg', 40, 1
my deagle brand deagle not to sound like an alarm clock when it rounds outta dakka
it indeed did sound like an alarm clock
get gun with automagdrop shoot gun it yaps at you
Please check whatever applies. More checkboxes checked increase your chances of not being yelled at by every contributor.
yell at me i don't give a fuck i'm gonna freewheel it on outta this issue
I believe the best solution would be the addition of a mag_drop_sound var to /obj/item/weapon/gun/projectile, then replacing the 'sound/weapons/smg_empty_alarm.ogg' in the playsound() with mag_drop_sound.
Most helpful comment
I believe the best solution would be the addition of a
mag_drop_soundvar to/obj/item/weapon/gun/projectile, then replacing the 'sound/weapons/smg_empty_alarm.ogg' in theplaysound()withmag_drop_sound.