mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Shhhhhhh.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2402 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -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
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user