Replace/Add lots of sounds from VerySoft

This commit is contained in:
Aronai Sieyes
2020-05-05 22:43:31 -04:00
parent 586dcad6a1
commit f4c8a7e2f5
41 changed files with 46 additions and 31 deletions

View File

@@ -58,7 +58,7 @@ var/global/datum/emergency_shuttle_controller/emergency_shuttle = new
if (evac)
emergency_shuttle_docked.Announce(replacetext(replacetext(using_map.emergency_shuttle_docked_message, "%dock_name%", "[using_map.dock_name]"), "%ETD%", "[estimated_time] minute\s"))
else
priority_announcement.Announce(replacetext(replacetext(using_map.shuttle_docked_message, "%dock_name%", "[using_map.dock_name]"), "%ETD%", "[estimated_time] minute\s"))
priority_announcement.Announce(replacetext(replacetext(using_map.shuttle_docked_message, "%dock_name%", "[using_map.dock_name]"), "%ETD%", "[estimated_time] minute\s"), "Transfer System", 'sound/AI/tramarrived.ogg') //VOREStation Edit - TTS
//arm the escape pods
if (evac)
@@ -115,7 +115,7 @@ var/global/datum/emergency_shuttle_controller/emergency_shuttle = new
shuttle.move_time = SHUTTLE_TRANSIT_DURATION
var/estimated_time = round(estimate_arrival_time()/60,1)
priority_announcement.Announce(replacetext(replacetext(using_map.shuttle_called_message, "%dock_name%", "[using_map.dock_name]"), "%ETA%", "[estimated_time] minute\s"))
priority_announcement.Announce(replacetext(replacetext(using_map.shuttle_called_message, "%dock_name%", "[using_map.dock_name]"), "%ETA%", "[estimated_time] minute\s"), "Transfer System", 'sound/AI/tramcalled.ogg') //VOREStation Edit - TTS
atc.shift_ending()
//recalls the shuttle

View File

@@ -28,7 +28,15 @@ SUBSYSTEM_DEF(nightshift)
var/announce_z
if(using_map.station_levels.len)
announce_z = pick(using_map.station_levels)
priority_announcement.Announce(message, new_title = "Automated Lighting System Announcement", new_sound = 'sound/misc/notice2.ogg', zlevel = announce_z)
//VOREStation Edit - TTS
var/pickedsound
if(!high_security_mode)
if(nightshift_active)
pickedsound = 'sound/AI/dim_lights.ogg'
else
pickedsound = 'sound/AI/bright_lights.ogg'
priority_announcement.Announce(message, new_title = "Automated Lighting System Announcement", new_sound = pickedsound, zlevel = announce_z)
//VOREStation Edit End
/datum/controller/subsystem/nightshift/proc/check_nightshift(check_canfire=FALSE) //This is called from elsewhere, like setting the alert levels
if(check_canfire && !can_fire)

View File

@@ -17,17 +17,17 @@
log = do_log
newscast = do_newscast
/datum/announcement/priority/New(var/do_log = 1, var/new_sound = 'sound/misc/notice2.ogg', var/do_newscast = 0)
/datum/announcement/priority/New(var/do_log = 1, var/new_sound, var/do_newscast = 0)
..(do_log, new_sound, do_newscast)
title = "Priority Announcement"
announcement_type = "Priority Announcement"
/datum/announcement/priority/command/New(var/do_log = 1, var/new_sound = 'sound/misc/notice2.ogg', var/do_newscast = 0)
/datum/announcement/priority/command/New(var/do_log = 1, var/new_sound, var/do_newscast = 0)
..(do_log, new_sound, do_newscast)
title = "[command_name()] Update"
announcement_type = "[command_name()] Update"
/datum/announcement/priority/security/New(var/do_log = 1, var/new_sound = 'sound/misc/notice2.ogg', var/do_newscast = 0)
/datum/announcement/priority/security/New(var/do_log = 1, var/new_sound, var/do_newscast = 0)
..(do_log, new_sound, do_newscast)
title = "Security Announcement"
announcement_type = "Security Announcement"
@@ -52,7 +52,7 @@
Sound(message_sound, zlevels)
Log(message, message_title)
datum/announcement/proc/Message(message as text, message_title as text, var/list/zlevels)
/datum/announcement/proc/Message(message as text, message_title as text, var/list/zlevels)
for(var/mob/M in player_list)
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, "<h2 class='alert'>[title]</h2>")
@@ -61,17 +61,17 @@ datum/announcement/proc/Message(message as text, message_title as text, var/list
to_chat(M, "<span class='alert'> -[html_encode(announcer)]</span>")
// You'll need to update these to_world usages if you want to make these z-level specific ~Aro
datum/announcement/minor/Message(message as text, message_title as text)
/datum/announcement/minor/Message(message as text, message_title as text)
to_world("<b>[message]</b>")
datum/announcement/priority/Message(message as text, message_title as text)
/datum/announcement/priority/Message(message as text, message_title as text)
to_world("<h1 class='alert'>[message_title]</h1>")
to_world("<span class='alert'>[message]</span>")
if(announcer)
to_world("<span class='alert'> -[html_encode(announcer)]</span>")
to_world("<br>")
datum/announcement/priority/command/Message(message as text, message_title as text, var/list/zlevels)
/datum/announcement/priority/command/Message(message as text, message_title as text, var/list/zlevels)
var/command
command += "<h1 class='alert'>[command_name()] Update</h1>"
if (message_title)
@@ -85,16 +85,16 @@ datum/announcement/priority/command/Message(message as text, message_title as te
if(!istype(M,/mob/new_player) && !isdeaf(M))
to_chat(M, command)
datum/announcement/priority/Message(var/message as text, var/message_title as text, var/list/zlevels)
/datum/announcement/priority/Message(var/message as text, var/message_title as text, var/list/zlevels)
global_announcer.autosay("<span class='alert'>[message_title]:</span> [message]", announcer ? announcer : ANNOUNCER_NAME, channel = "Common", zlevels = zlevels)
datum/announcement/priority/command/Message(var/message as text, var/message_title as text, var/list/zlevels)
/datum/announcement/priority/command/Message(var/message as text, var/message_title as text, var/list/zlevels)
global_announcer.autosay("<span class='alert'>[command_name()] - [message_title]:</span> [message]", ANNOUNCER_NAME, channel = "Common", zlevels = zlevels)
datum/announcement/priority/security/Message(var/message as text, var/message_title as text, var/list/zlevels)
/datum/announcement/priority/security/Message(var/message as text, var/message_title as text, var/list/zlevels)
global_announcer.autosay("<span class='alert'>[message_title]:</span> [message]", ANNOUNCER_NAME, channel = "Common", zlevels = zlevels)
datum/announcement/proc/NewsCast(var/message as text, var/message_title as text)
/datum/announcement/proc/NewsCast(var/message as text, var/message_title as text)
if(!newscast)
return
@@ -106,27 +106,27 @@ datum/announcement/proc/NewsCast(var/message as text, var/message_title as text)
news.can_be_redacted = 0
announce_newscaster_news(news)
datum/announcement/proc/PlaySound(var/message_sound, var/list/zlevels)
if(!message_sound)
return
/datum/announcement/proc/PlaySound(var/message_sound, var/list/zlevels)
for(var/mob/M in player_list)
if(zlevels && !(M.z in zlevels))
continue
if(!istype(M,/mob/new_player) && !isdeaf(M))
M << message_sound
M << 'sound/AI/preamble.ogg'
datum/announcement/proc/Sound(var/message_sound, var/list/zlevels)
if(!message_sound)
return
spawn(22) // based on length of preamble.ogg + arbitrary delay
for(var/mob/M in player_list)
if(zlevels && !(M.z in zlevels))
continue
if(!istype(M,/mob/new_player) && !isdeaf(M))
M << message_sound
/datum/announcement/proc/Sound(var/message_sound, var/list/zlevels)
PlaySound(message_sound, zlevels)
datum/announcement/priority/Sound(var/message_sound)
if(message_sound)
world << message_sound
datum/announcement/priority/command/Sound(var/message_sound)
PlaySound(message_sound)
datum/announcement/proc/Log(message as text, message_title as text)
/datum/announcement/proc/Log(message as text, message_title as text)
if(log)
log_game("[key_name(usr)] has made \a [announcement_type]: [message_title] - [message] - [announcer]")
message_admins("[key_name_admin(usr)] has made \a [announcement_type].", 1)

View File

@@ -210,6 +210,7 @@
//purge apparently means clearing the airlock chamber to vacuum (then refilling, handled later)
target_pressure = 0
state = STATE_DEPRESSURIZE
playsound(master, 'sound/AI/airlockout.ogg', 100, 0) //VOREStation Add - TTS
if(!cycle_to_external_air || target_state == TARGET_OUTOPEN) // if going outside, pump internal air into air tank
signalPump(tag_airpump, 1, 0, target_pressure) //send a signal to start depressurizing
else
@@ -218,6 +219,7 @@
else if(chamber_pressure <= target_pressure)
state = STATE_PRESSURIZE
playsound(master, 'sound/AI/airlockin.ogg', 100, 0) //VOREStation Add - TTS
if(!cycle_to_external_air || target_state == TARGET_INOPEN) // if going inside, pump air into airlock
signalPump(tag_airpump, 1, 1, target_pressure) //send a signal to start pressurizing
else
@@ -227,6 +229,7 @@
else if(chamber_pressure > target_pressure)
if(!cycle_to_external_air)
state = STATE_DEPRESSURIZE
playsound(master, 'sound/AI/airlockout.ogg', 100, 0) //VOREStation Add - TTS
signalPump(tag_airpump, 1, 0, target_pressure) //send a signal to start depressurizing
else
memory["purge"] = 1 // should always purge first if using external air, chamber pressure should never be higher than target pressure here
@@ -234,6 +237,7 @@
memory["target_pressure"] = max(target_pressure, MIN_TARGET_PRESSURE)
if(STATE_PRESSURIZE)
playsound(master, 'sound/machines/2beep.ogg', 100, 0) //VOREStation Add - TTS
if(memory["chamber_sensor_pressure"] >= memory["target_pressure"] * 0.95)
//not done until the pump has reported that it's off
if(memory["pump_status"] != "off")
@@ -245,9 +249,11 @@
cycleDoors(target_state)
state = STATE_IDLE
target_state = TARGET_NONE
playsound(master, 'sound/AI/airlockdone.ogg', 100, 0) //VOREStation Add - TTS
if(STATE_DEPRESSURIZE)
playsound(master, 'sound/machines/2beep.ogg', 100, 0) //VOREStation Add - TTS
if(memory["chamber_sensor_pressure"] <= max(memory["target_pressure"] * 1.05, MIN_TARGET_PRESSURE))
if(memory["pump_status"] != "off")
signalPump(tag_airpump, 0)
@@ -263,6 +269,7 @@
cycleDoors(target_state)
state = STATE_IDLE
target_state = TARGET_NONE
playsound(master, 'sound/AI/airlockdone.ogg', 100, 0) //VOREStation Add - TTS
memory["processing"] = (state != target_state)

View File

@@ -4,8 +4,8 @@
endWhen = 3
/datum/event/ianstorm/announce()
command_announcement.Announce("It has come to our attention that the station passed through an ion storm. Please monitor all electronic equipment for malfunctions.", "Anomaly Alert")
spawn(rand(50, 300))
command_announcement.Announce("It has come to our attention that the station passed through an ion storm. Please monitor all electronic equipment for malfunctions.", "Anomaly Alert", 'sound/AI/ian_storm.ogg')
spawn(7 SECONDS)
command_announcement.Announce("Wait. No, thats wrong. The station passed through an IAN storm!.", "Ian Alert")
/datum/event/ianstorm/start()

View File

@@ -37,7 +37,7 @@
if (emergency_shuttle.evac)
priority_announcement.Announce(replacetext(replacetext(using_map.emergency_shuttle_leaving_dock, "%dock_name%", "[using_map.dock_name]"), "%ETA%", "[estimated_time] minute\s"))
else
priority_announcement.Announce(replacetext(replacetext(using_map.shuttle_leaving_dock, "%dock_name%", "[using_map.dock_name]"), "%ETA%", "[estimated_time] minute\s"))
priority_announcement.Announce(replacetext(replacetext(using_map.shuttle_leaving_dock, "%dock_name%", "[using_map.dock_name]"), "%ETA%", "[estimated_time] minute\s"), "Transfer System", 'sound/AI/tramdepart.ogg')
..()
/datum/shuttle/autodock/ferry/emergency/can_launch(var/user)

BIN
sound/AI/airlockdone.ogg Normal file

Binary file not shown.

BIN
sound/AI/airlockin.ogg Normal file

Binary file not shown.

BIN
sound/AI/airlockout.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
sound/AI/bright_lights.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
sound/AI/dim_lights.ogg Normal file

Binary file not shown.

BIN
sound/AI/drone_pod.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
sound/AI/ian_storm.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
sound/AI/preamble.ogg Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
sound/AI/tramarrived.ogg Normal file

Binary file not shown.

BIN
sound/AI/tramcalled.ogg Normal file

Binary file not shown.

BIN
sound/AI/tramdepart.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
sound/machines/2beep.ogg Normal file

Binary file not shown.

Binary file not shown.

BIN
sound/machines/2beeplow.ogg Normal file

Binary file not shown.

BIN
sound/machines/2beepmid.ogg Normal file

Binary file not shown.

Binary file not shown.