mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Ports some sounds for toolbox/briefcase/switch (#21938)
This commit is contained in:
@@ -189,6 +189,7 @@
|
||||
item_state = "sec-case"
|
||||
flags = CONDUCT
|
||||
hitsound = "swing_hit"
|
||||
use_sound = 'sound/effects/briefcase.ogg'
|
||||
force = 8
|
||||
throw_speed = 2
|
||||
throw_range = 4
|
||||
@@ -201,7 +202,7 @@
|
||||
if(loc == user && locked)
|
||||
to_chat(usr, "<span class='warning'>[src] is locked and cannot be opened!</span>")
|
||||
else if((loc == user) && !locked)
|
||||
playsound(loc, "rustle", 50, 1, -5)
|
||||
playsound(loc, 'sound/effects/briefcase.ogg', 50, TRUE, -5)
|
||||
if(user.s_active)
|
||||
user.s_active.close(user) //Close and re-open
|
||||
show_to(user)
|
||||
|
||||
Reference in New Issue
Block a user