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:
Fluffy
2024-03-25 20:40:36 +00:00
committed by GitHub
parent 9faac2d684
commit 1b40dbce82
174 changed files with 1251 additions and 817 deletions
+3 -3
View File
@@ -303,7 +303,7 @@
/obj/machinery/shieldgen/attackby(obj/item/attacking_item, mob/user)
if(attacking_item.isscrewdriver())
playsound(src.loc, attacking_item.usesound, 50, 1)
attacking_item.play_tool_sound(get_turf(src), 50)
if(is_open)
to_chat(user, "<span class='notice'>You close the panel.</span>")
is_open = FALSE
@@ -327,7 +327,7 @@
to_chat(user, "The bolts are covered, unlocking this would retract the covers.")
return
if(anchored)
playsound(src.loc, attacking_item.usesound, 100, 1)
attacking_item.play_tool_sound(get_turf(src), 100)
to_chat(user, "<span class='notice'>You unsecure the [src] from the floor!</span>")
if(active)
to_chat(user, "<span class='notice'>The [src] shuts off!</span>")
@@ -335,7 +335,7 @@
anchored = FALSE
else
if(istype(get_turf(src), /turf/space)) return //No wrenching these in space!
playsound(src.loc, attacking_item.usesound, 100, 1)
attacking_item.play_tool_sound(get_turf(src), 100)
to_chat(user, "<span class='notice'>You secure the [src] to the floor!</span>")
anchored = TRUE
+1 -1
View File
@@ -151,7 +151,7 @@
wrenched = !wrenched
anchored = wrenched
playsound(loc, attacking_item.usesound, 75, TRUE)
attacking_item.play_tool_sound(get_turf(src), 75)
add_fingerprint(user)
var/others_msg = wrenched ? "<b>[user]</b> secures the external reinforcing bolts to the floor." : "<b>[user]</b> unsecures the external reinforcing bolts."
var/self_msg = wrenched ? "You secure the external reinforcing bolts to the floor." : "You unsecure the external reinforcing bolts."