Merge pull request #33858 from nero1024/blastdoor-sound

Adds open/close sound to blastdoors and shutters
This commit is contained in:
Jordan Brown
2017-12-27 11:49:49 -05:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
armor = list(melee = 50, bullet = 100, laser = 100, energy = 100, bomb = 50, bio = 100, rad = 100, fire = 100, acid = 70)
resistance_flags = FIRE_PROOF
damage_deflection = 70
/obj/machinery/door/poddoor/preopen
icon_state = "open"
density = FALSE
@@ -49,8 +49,10 @@
switch(animation)
if("opening")
flick("opening", src)
playsound(src, 'sound/machines/blastdoor.ogg', 30, 1)
if("closing")
flick("closing", src)
playsound(src, 'sound/machines/blastdoor.ogg', 30, 1)
/obj/machinery/door/poddoor/update_icon()
if(density)

Binary file not shown.