mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)
This commit is contained in:
@@ -117,7 +117,7 @@ LINEN BINS
|
||||
if (do_after(user, 25, src))
|
||||
if(user.loc != loc)
|
||||
user.do_attack_animation(src)
|
||||
playsound(get_turf(loc), "rustle", 15, 1, -5)
|
||||
playsound(get_turf(loc), /decl/sound_category/rustle_sound, 15, 1, -5)
|
||||
var/folds = fold
|
||||
user.visible_message(SPAN_NOTICE("\The [user] [folds ? "unfolds" : "folds"] \the [src]."),
|
||||
SPAN_NOTICE("You [fold ? "unfold" : "fold"] \the [src]."))
|
||||
@@ -151,7 +151,7 @@ LINEN BINS
|
||||
if (do_after(user, 6, src))
|
||||
if(user.loc != loc)
|
||||
user.do_attack_animation(src)
|
||||
playsound(get_turf(loc), "rustle", 15, 1, -5)
|
||||
playsound(get_turf(loc), /decl/sound_category/rustle_sound, 15, 1, -5)
|
||||
var/rolls = roll
|
||||
user.visible_message(SPAN_NOTICE("\The [user] [rolls ? "unrolls" : "rolls"] \the [src]."),
|
||||
SPAN_NOTICE("You [roll ? "unroll" : "roll"] \the [src]."))
|
||||
|
||||
Reference in New Issue
Block a user