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
+1 -1
View File
@@ -1009,7 +1009,7 @@ Note that amputating the affected organ does in fact remove the infection from t
owner.emote("scream")
owner.flash_strong_pain()
playsound(src.loc, "fracture", 100, 1, -2)
playsound(src.loc, /decl/sound_category/fracture_sound, 100, 1, -2)
status |= ORGAN_BROKEN
broken_description = pick("Broken","Fracture","Hairline fracture")
perma_injury = brute_dam