Disables some non-essential sounds (#7886)

This commit is contained in:
Selis
2024-03-04 14:04:19 +01:00
committed by GitHub
parent 245f0d2c3b
commit f9fe510b83
2 changed files with 4 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ var/global/list/acceptable_fruit_types= list(
"whitebeet")
// Some "scary" sounds.
/* CHOMPEdit Start
var/static/list/scawwySownds = list(
'sound/voice/ScawwySownds/a scawey sownd.ogg',
'sound/voice/ScawwySownds/is that you.ogg',
@@ -63,3 +64,4 @@ var/static/list/scawwySownds = list(
'sound/voice/ScawwySownds/whats up with all the trash.ogg',
'sound/voice/ScawwySownds/youre afraid of the dark arent you.ogg'
)
*/ // CHOMPedit End

View File

@@ -1779,12 +1779,14 @@
if(isturf(loc) && rand(1,1000) == 1)
var/turf/T = loc
if(T.get_lumcount() <= LIGHTING_SOFT_THRESHOLD)
/* CHOMPEdit Start
//VOREStation Add Start
if(text2num(time2text(world.timeofday, "MM")) == 4)
if(text2num(time2text(world.timeofday, "DD")) == 1)
playsound_local(src,pick(scawwySownds),50, 0)
return
//VOREStation Add End
*/ // CHOMPedit End
playsound_local(src,pick(scarySounds),50, 1, -1)
/mob/living/carbon/human/handle_stomach()