mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-19 12:12:43 +01:00
Guns sounds refactor and improvements (#5803)
* Gun sound updates Grenade Launcher sound source: https://freesound.org/people/LeMudCrab/sounds/163458/ * Actually, this is a better way to handle this. * Fixed accidental inconsistent indentation * Renames shotgun.ogg to Gunshot_shotgun.ogg Also actually changes the file names like I was supposed to last night. * *peers* Didn't I just fix this shit? * Actually fixes the missing files this time * Update audible_deception.dm * Changed tungsten core projectile sound by request * Actually no this line is stupid and makes me angry Simplifies dumb code that was badly copypasted. Also fixed missing D'eagle fire_sound * Smarter code Less copypasta, more runtimes prevented in case somebody decides to make a soundless gun whether done intentionally or not. * Update gun.dm
This commit is contained in:
@@ -124,9 +124,9 @@ mob/living/carbon/proc/handle_hallucinations()
|
||||
if(8) src << 'sound/machines/windowdoor.ogg'
|
||||
if(9)
|
||||
//To make it more realistic, I added two gunshots (enough to kill)
|
||||
src << 'sound/weapons/Gunshot.ogg'
|
||||
src << 'sound/weapons/Gunshot1.ogg'
|
||||
spawn(rand(10,30))
|
||||
src << 'sound/weapons/Gunshot.ogg'
|
||||
src << 'sound/weapons/Gunshot2.ogg'
|
||||
if(10) src << 'sound/weapons/smash.ogg'
|
||||
if(11)
|
||||
//Same as above, but with tasers.
|
||||
|
||||
Reference in New Issue
Block a user