mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
if(istype(target,/obj/item/clothing/mask/smokable/cigarette))
|
||||
var/obj/item/clothing/mask/smokable/cigarette/S = target
|
||||
S.light(SPAN_NOTICE("\The [user] snaps [user.get_pronoun("his")] fingers and \the [S] lights up."))
|
||||
playsound(S.loc, "sparks", 50, 1)
|
||||
playsound(S.loc, /decl/sound_category/spark_sound, 50, 1)
|
||||
else
|
||||
var/datum/effect_system/sparks/spark_system
|
||||
spark_system = bind_spark(src, 3)
|
||||
|
||||
Reference in New Issue
Block a user