mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 21:57:53 +01:00
Adds Sleep Music to Surgery/Cryo/Sleeper
Plays quiet music when you have; - An anesthetic mask on your face. - Been put into a cryopod - Been put into a sleeper TBD: Maybe make sleeping do it, but iirc even dying does sleep. There is a pref toggle for these under Preferences: "Sleeping Music" Example [here](https://streamable.com/pls63y) of surgery being done. Volume is higher than normal, was adjusted down to 40%.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/mob/living/carbon
|
||||
var/datum/looping_sound/mob/cozyloop/cozyloop
|
||||
|
||||
/mob/living/carbon/Initialize()
|
||||
. = ..()
|
||||
|
||||
cozyloop = new(list(src), FALSE)
|
||||
|
||||
/mob/living/carbon/Destroy()
|
||||
. = ..()
|
||||
|
||||
QDEL_NULL(cozyloop)
|
||||
Reference in New Issue
Block a user