3d Sound from /tg/

This commit is contained in:
Graham Lloyd
2014-03-27 14:49:49 -04:00
parent 896ef5970b
commit b6f2d39f6b
3 changed files with 103 additions and 77 deletions
+5 -1
View File
@@ -204,7 +204,11 @@
if("Cn9") soundfile = 'sound/piano/Cn9.ogg'
else return
hearers(15, src) << sound(soundfile)
//hearers(15, src) << sound(soundfile)
var/turf/source = get_turf(src)
for(var/mob/M in hearers(15, source))
M.playsound_local(source, file(soundfile), 100, falloff = 5)
/obj/structure/device/piano/proc/playsong()
do