re-adds radio sounds, properly this time (#8237)

they should have proper pauses and checks and shit, and should actually be properly balanced because I ported these from Bay
This commit is contained in:
Wowzewow (Wezzy)
2020-05-30 22:36:42 +08:00
committed by GitHub
parent aa94e7a23f
commit 1f754c759c
11 changed files with 70 additions and 3 deletions

View File

@@ -4,7 +4,8 @@
/client/proc/Toggle_asfx_vote,
/client/proc/toggle_vox_voice,
/client/proc/Toggle_dropsounds,
/client/proc/Toggle_arcadesounds
/client/proc/Toggle_arcadesounds,
/client/proc/Toggle_radiosounds
)
/client/verb/asf_toggle()
@@ -86,4 +87,16 @@
if(prefs.asfx_togs & ASFX_ARCADE)
to_chat(src, "You will now hear arcade sounds.")
else
to_chat(src, "<font color='red'>You will no longer hear arcade sounds.</font>")
to_chat(src, "<font color='red'>You will no longer hear arcade sounds.</font>")
/client/proc/Toggle_radiosounds()
set name = "Toggle Radio SFX"
set category = "SoundFx Prefs"
set desc = "Toggles hearing noises made by radios."
prefs.asfx_togs ^= ASFX_RADIO
prefs.save_preferences()
if(prefs.asfx_togs & ASFX_RADIO)
to_chat(src, "You will now hear radio sounds.")
else
to_chat(src, "<font color='red'>You will no longer hear radio sounds.</font>")