mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)
This commit is contained in:
@@ -468,7 +468,7 @@
|
||||
if(51 to INFINITY)
|
||||
playsound(src.loc, "sound/weapons/heavysmash.ogg", 100, 1)
|
||||
else
|
||||
playsound(src.loc, "swing_hit", 75, 1)
|
||||
playsound(src.loc, /decl/sound_category/swing_hit_sound, 75, 1)
|
||||
else
|
||||
playsound(src.loc, "sound/weapons/smash.ogg", 75, 1)
|
||||
|
||||
@@ -621,11 +621,11 @@
|
||||
if(-INFINITY to 10)
|
||||
playsound(src.loc, "sound/weapons/bladeslice.ogg", 50, 1)
|
||||
if(11 to 50)
|
||||
playsound(src.loc, "punch", 75, 1)
|
||||
playsound(src.loc, /decl/sound_category/punch_sound, 75, 1)
|
||||
if(51 to INFINITY)
|
||||
playsound(src.loc, "sound/weapons/heavysmash.ogg", 100, 1)
|
||||
else
|
||||
playsound(src.loc, "swing_hit", 75, 1)
|
||||
playsound(src.loc, /decl/sound_category/swing_hit_sound, 75, 1)
|
||||
else
|
||||
playsound(src.loc, "sound/weapons/smash.ogg", 75, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user