Skip to content

Commit

Permalink
disables air alarm sounds (#5987)
Browse files Browse the repository at this point in the history
they're obnoxious, see reasoning in files changed.
  • Loading branch information
silicons authored Sep 19, 2023
1 parent 261b9ba commit 245ded7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/atmospherics/machinery/air_alarm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,17 @@ GLOBAL_LIST_EMPTY(air_alarms)
/obj/machinery/air_alarm/proc/handle_sounds()
if(!report_danger_level)
return
// todo: this needs to be a soundloop datum that adjusts volume based on if the user's been hearing it, because constant alarm whine is obnoxious
// disabled for now ~silicons
/*
if(world.time > last_sound_played + (60 SECONDS / (danger_level ? danger_level : 1)))
if (danger_level == AIR_ALARM_RAISE_WARNING)
playsound(src,'sound/machines/air_alarm/warning.ogg', 100, pressure_affected = TRUE)
last_sound_played = world.time
if (danger_level == AIR_ALARM_RAISE_DANGER)
playsound(src, 'sound/machines/air_alarm/danger.ogg', 100, pressure_affected = FALSE)
last_sound_played = world.time
*/

/obj/machinery/air_alarm/proc/handle_heating_cooling(var/datum/gas_mixture/environment)
var/list/tlv = tlv_temperature
Expand Down

0 comments on commit 245ded7

Please sign in to comment.