Adds Deafened Feedback, enhances looping sounds further

Adds deafened ear ring that plays any time you're deafened, and fades back in once you can hear again.

Example of deafened feedback [here](https://streamable.com/8s8vlu). 

Worry not, if you're deafened via mutation or other, you'll simply go deaf, and only hear the fade-in once you regain hearing. 

It will also only play **once** when you are deafened. Further deafening effects while you are already deaf will not force you to hear it again.
This commit is contained in:
Rykka Stormheart
2023-03-03 04:08:08 -08:00
parent 2bbcc296f4
commit 640a73cb06
33 changed files with 127 additions and 16 deletions
@@ -93,6 +93,7 @@
if(iscarbon(L))
var/mob/living/carbon/C = L
C.ear_deaf += 10
C.deaf_loop.start() // CHOMPStation Add: Ear Ringing/Deafness
to_chat(L, span("danger", "Lightning struck nearby, and the thunderclap is deafening!"))
#undef LIGHTNING_ZAP_RANGE