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
+1 -1
View File
@@ -64,7 +64,7 @@
icon_state = initial(icon_state)
updateUsrDialog()
else if(attacking_item.iswrench())
playsound(loc, attacking_item.usesound, 50, 1)
attacking_item.play_tool_sound(get_turf(src), 50)
anchored = !anchored
to_chat(user, "<span class='notice'>You [anchored ? "wrench" : "unwrench"] \the [src].</span>")
else
+1 -1
View File
@@ -22,7 +22,7 @@
return
else if (attacking_item.iswrench())
playsound(loc, attacking_item.usesound, 50, 1)
attacking_item.play_tool_sound(get_turf(src), 50)
anchored = !anchored
user.visible_message(
SPAN_NOTICE("[anchored ? "\The [user] fastens \the [src] to \the [loc]." : "\The unfastens \the [src] from \the [loc]."]"),
+1 -1
View File
@@ -129,7 +129,7 @@
flick("photocopier_notoner", src)
playsound(loc, 'sound/machines/buzz-two.ogg', 75, 1)
else if(attacking_item.iswrench())
playsound(loc, attacking_item.usesound, 50, 1)
attacking_item.play_tool_sound(get_turf(src), 50)
anchored = !anchored
to_chat(user, SPAN_NOTICE("You [anchored ? "wrench" : "unwrench"] \the [src]."))
return