mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
Jukebox TGUI update, Earphones autoplay, sound keys refactor (#21630)
V2 of [previous music playing PR](https://github.com/Aurorastation/Aurora.3/pull/21466). TLDR no longer uses the connect_range component for implementation because it turned out a bit too inflexible for overlapping music players. Removes a NanoUI template for the [TGUI update](https://github.com/Aurorastation/Aurora.3/pull/21046). New changelog: - refactor: "Ported Jukebox's NanoUI interface to TGUI." - refactor: "Ported Jukebox audio playing functionality to a component." - refactor: "Sound keys refactored from singletons to datums, along with larger breakout of sound.dm to allow for easier SFX updates in future." - code_imp: "Expanded track datums to include track lengths." - code_imp: "Reorganized music file folders for more intuitive access." - rscadd: "Earphone status feedback text now includes track length." - rscadd: "Added autoplay functionality to earphones." - bugfix: "Fixed earphones' 'Previous Song' verb not sending you to the end of the playlist when used while the first track is selected." - bugfix: "Fixed gain adjustment for 'Konyang-1' (-23 dB -> standard -9.8 dB)." - bugfix: "Fixed y-offset of audioconsole-running overlay animation to line up with the actual screen." --------- Co-authored-by: VMSolidus <evilexecutive@gmail.com>
This commit is contained in:
co-authored by
VMSolidus
parent
4bc8527606
commit
7d058fc613
@@ -38,7 +38,7 @@
|
||||
installed_gun = gun
|
||||
size += gun.w_class
|
||||
to_chat(user, SPAN_NOTICE("You slide \the [gun] into the firing mechanism."))
|
||||
playsound(src.loc, /singleton/sound_category/crowbar_sound, 50, 1)
|
||||
playsound(src.loc, SFX_CROWBAR, 50, 1)
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
installed_gun.forceMove(get_turf(src))
|
||||
to_chat(user, SPAN_NOTICE("You slide \the [installed_gun] out of the firing mechanism."))
|
||||
size = initial(size)
|
||||
playsound(loc, /singleton/sound_category/crowbar_sound, 50, 1)
|
||||
playsound(loc, SFX_CROWBAR, 50, 1)
|
||||
installed_gun = null
|
||||
else
|
||||
to_chat(user, SPAN_NOTICE("There's no weapon to remove from the mechanism."))
|
||||
|
||||
Reference in New Issue
Block a user