mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
Updated the sound system (#18724)
* sdaf * sdaf * sdfa * sadf * sfda * gfd * reduce thrusters volume * sdafsadsdaf * sdfa * Reduced some sound ranges and made some/more not ignore walls for loops * health analyzers too * ivdrip adjustment * most tools now use play_tool_sound to have the sound played, reduced range for it
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
..()
|
||||
to_chat(user, SPAN_NOTICE("You turn on \the [src]\s ignition."))
|
||||
playsound(src, 'sound/machines/vehicles/button.ogg', 50, FALSE)
|
||||
playsound_in(src, 'sound/machines/vehicles/start.ogg', 50, FALSE, time = 1 SECOND)
|
||||
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound), src, 'sound/machines/vehicles/start.ogg', 50, FALSE), 1 SECONDS)
|
||||
else
|
||||
turn_off(user)
|
||||
update_stats()
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
/obj/vehicle/train/attackby(obj/item/attacking_item, mob/user)
|
||||
if(attacking_item.iswrench())
|
||||
playsound(loc, attacking_item.usesound, 70, FALSE)
|
||||
attacking_item.play_tool_sound(get_turf(src), 70)
|
||||
unattach(user)
|
||||
return
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user