mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 08:34:16 +01:00
Ports some sounds for toolbox/briefcase/switch (#21938)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
item_state = "briefcase"
|
||||
flags = CONDUCT
|
||||
hitsound = "swing_hit"
|
||||
use_sound = 'sound/effects/briefcase.ogg'
|
||||
force = 8
|
||||
throw_speed = 2
|
||||
throw_range = 4
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -16,9 +16,10 @@
|
||||
materials = list(MAT_METAL = 500)
|
||||
origin_tech = "combat=1;engineering=1"
|
||||
attack_verb = list("robusted")
|
||||
use_sound = 'sound/effects/toolbox.ogg'
|
||||
hitsound = 'sound/weapons/smash.ogg'
|
||||
drop_sound = 'sound/items/handling/toolbox_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/toolbox_pickup.ogg'
|
||||
pickup_sound = 'sound/items/handling/toolbox_pickup.ogg'
|
||||
var/latches = "single_latch"
|
||||
var/has_latches = TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user