mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +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:
@@ -95,7 +95,7 @@
|
||||
else if(attacking_item.iswrench())
|
||||
anchored = !anchored
|
||||
to_chat(user, "You [anchored ? "attach" : "detach"] the [src] [anchored ? "to" : "from"] the ground")
|
||||
playsound(src.loc, attacking_item.usesound, 75, 1)
|
||||
attacking_item.play_tool_sound(get_turf(src), 75)
|
||||
|
||||
if(ui?.user)
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
user.visible_message(SPAN_NOTICE("[user] removes \the [name] from the grenade casing."),
|
||||
SPAN_NOTICE("You remove \the [name] from the grenade casing."))
|
||||
new /obj/item/grenade/chem_grenade/large(get_turf(src))
|
||||
playsound(loc, attacking_item.usesound, 50, 1)
|
||||
attacking_item.play_tool_sound(get_turf(src), 50)
|
||||
update_icon()
|
||||
|
||||
if(istype(attacking_item, /obj/item/steelwool))
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
atom_flags &= ~ATOM_FLAG_OPEN_CONTAINER
|
||||
else
|
||||
atom_flags = ATOM_FLAG_OPEN_CONTAINER
|
||||
playsound(src, attacking_item.usesound, 70)
|
||||
attacking_item.play_tool_sound(get_turf(src), 70)
|
||||
to_chat(user, SPAN_NOTICE("You wrench \the [src]'s fuel cap [(atom_flags & ATOM_FLAG_OPEN_CONTAINER) ? "open" : "closed"]."))
|
||||
return
|
||||
else if(attacking_item.iswelder())
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
/obj/structure/reagent_dispensers/water_cooler/attackby(obj/item/attacking_item, mob/user)
|
||||
if (attacking_item.isscrewdriver())
|
||||
src.add_fingerprint(user)
|
||||
playsound(src.loc, attacking_item.usesound, 100, 1)
|
||||
attacking_item.play_tool_sound(get_turf(src), 100)
|
||||
if(do_after(user, 20))
|
||||
if(!src) return
|
||||
switch (anchored)
|
||||
|
||||
Reference in New Issue
Block a user