Adds more sounds (#3327)

Adds sounds for opening lockers, going down ladders, turning on your internals, removing and placing extinguishers in the cabinet, sounds for bone breaking and sound to the bsa.
This commit is contained in:
Alberyk
2017-08-27 16:58:34 -05:00
committed by Lohikar
parent ad4fce70c5
commit 608cf8feda
22 changed files with 19 additions and 7 deletions
@@ -15,8 +15,8 @@
var/storage_capacity = 40 //Tying this to mob sizes was dumb
//This is so that someone can't pack hundreds of items in a locker/crate
//then open it in a populated area to crash clients.
var/open_sound = 'sound/machines/click.ogg'
var/close_sound = 'sound/machines/click.ogg'
var/open_sound = 'sound/effects/locker_open.ogg'
var/close_sound = 'sound/effects/locker_close.ogg'
var/store_misc = 1
var/store_items = 1
@@ -135,7 +135,7 @@
src.icon_state = src.icon_closed
src.opened = 0
playsound(src.loc, close_sound, 15, 1, -3)
playsound(src.loc, close_sound, 25, 0, -3)
density = 1
return 1
@@ -21,6 +21,7 @@
contents += O
has_extinguisher = O
user << "<span class='notice'>You place [O] in [src].</span>"
playsound(src.loc, 'sound/effects/extin.ogg', 50, 0)
else
opened = !opened
else
@@ -42,6 +43,7 @@
if(has_extinguisher)
user.put_in_hands(has_extinguisher)
user << "<span class='notice'>You take [has_extinguisher] from [src].</span>"
playsound(src.loc, 'sound/effects/extout.ogg', 50, 0)
has_extinguisher = null
opened = 1
else