Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)

This commit is contained in:
Matt Atlas
2020-08-28 20:47:00 +02:00
committed by GitHub
parent db1b0cece0
commit 0dd08df5b2
125 changed files with 629 additions and 557 deletions
@@ -69,7 +69,7 @@
H.confused += 10
H.stuttering += 5
to_chat(H, "<span class='danger'>You suddenly feel as if your head was hit by something!</span>")
playsound(get_turf(H), "punch", 50, 1, -1)
playsound(get_turf(H), /decl/sound_category/punch_sound, 50, 1, -1)
cooldown = world.time + cooldown_time