Shhhhhhh.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2402 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-10-20 17:39:08 +00:00
parent ba08276d55
commit 2383130a28
3 changed files with 6 additions and 2 deletions
-1
View File
@@ -5,4 +5,3 @@
var/t_n2 = null
var/now_pushing = null
var/cameraFollow = null
@@ -86,6 +86,11 @@
for(var/obj/item/weapon/grab/G in src)
G.process()
if(isturf(loc) && rand(1,1000) == 1) //0.1% chance of playing a scary sound to someone who's in complete darkness
var/turf/currentTurf = loc
if(!currentTurf.sd_lumcount)
playsound_local(src,pick(scarySounds),50, 1, -1)
..() //for organs
+1 -1
View File
@@ -213,4 +213,4 @@ var/list/global_mutations = list() // list of hidden mutation things
#define EYE_BLUR "eye_blur"
#define DROWSY "drowsy"
var/static/list/scarySounds = list('thudswoosh.ogg','Taser.ogg','armbomb.ogg','hiss1.ogg','hiss2.ogg','hiss3.ogg','hiss4.ogg','hiss5.ogg','hiss6.ogg','Glassbr1.ogg','Glassbr2.ogg','Glassbr3.ogg','Welder.ogg','Welder2.ogg','airlock.ogg','clownstep1.ogg','clownstep2.ogg')