mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +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
|
||||
|
||||
|
||||
@@ -316,6 +316,7 @@ GLOBAL_LIST_INIT(conveyor_switches, list())
|
||||
|
||||
/obj/machinery/conveyor_switch/proc/toggle(mob/user)
|
||||
add_fingerprint(user)
|
||||
playsound(loc, 'sound/machines/switch.ogg', 10, TRUE)
|
||||
if(!allowed(user) && !user.can_advanced_admin_interact()) //this is in Para but not TG. I don't think there's any which are set anyway.
|
||||
to_chat(user, "<span class='warning'>Access denied.</span>")
|
||||
return
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user