mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Sensor Tweaks (#16434)
* Sensor Tweaks * anotha one * sound tweaks * removed debug code
This commit is contained in:
@@ -65,6 +65,17 @@
|
||||
src << sound(null, repeat = 0, wait = 0, volume = 0, channel = 4) // Music plays on channel 4.
|
||||
to_chat(src, SPAN_INFO("You will [(prefs.sfx_toggles & ASFX_MUSIC) ? "now" : "no longer"] hear music (such as from jukeboxes)."))
|
||||
|
||||
/client/verb/toggle_asfx_console()
|
||||
set name = "Toggle Console Ambience SFX"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles hearing ambient sound effects from consoles"
|
||||
|
||||
prefs.sfx_toggles ^= ASFX_CONSOLE_AMBIENCE
|
||||
prefs.save_preferences()
|
||||
if(prefs.sfx_toggles & ASFX_CONSOLE_AMBIENCE)
|
||||
to_chat(src, SPAN_INFO("You will now hear ambient sounds from consoles."))
|
||||
else
|
||||
to_chat(src, SPAN_INFO("You will no longer hear ambient sounds from consoles."))
|
||||
//
|
||||
// SFX Toggles
|
||||
//
|
||||
@@ -130,4 +141,4 @@
|
||||
|
||||
prefs.sfx_toggles ^= ASFX_INSTRUMENT
|
||||
prefs.save_preferences()
|
||||
to_chat(src, SPAN_INFO("You will [(prefs.sfx_toggles & ASFX_INSTRUMENT) ? "now" : "no longer"] hear instrument sounds."))
|
||||
to_chat(src, SPAN_INFO("You will [(prefs.sfx_toggles & ASFX_INSTRUMENT) ? "now" : "no longer"] hear instrument sounds."))
|
||||
|
||||
Reference in New Issue
Block a user