mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Replace/Add lots of sounds from VerySoft
This commit is contained in:
@@ -58,7 +58,7 @@ var/global/datum/emergency_shuttle_controller/emergency_shuttle = new
|
|||||||
if (evac)
|
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"))
|
emergency_shuttle_docked.Announce(replacetext(replacetext(using_map.emergency_shuttle_docked_message, "%dock_name%", "[using_map.dock_name]"), "%ETD%", "[estimated_time] minute\s"))
|
||||||
else
|
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
|
//arm the escape pods
|
||||||
if (evac)
|
if (evac)
|
||||||
@@ -115,7 +115,7 @@ var/global/datum/emergency_shuttle_controller/emergency_shuttle = new
|
|||||||
shuttle.move_time = SHUTTLE_TRANSIT_DURATION
|
shuttle.move_time = SHUTTLE_TRANSIT_DURATION
|
||||||
var/estimated_time = round(estimate_arrival_time()/60,1)
|
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()
|
atc.shift_ending()
|
||||||
|
|
||||||
//recalls the shuttle
|
//recalls the shuttle
|
||||||
|
|||||||
@@ -28,7 +28,15 @@ SUBSYSTEM_DEF(nightshift)
|
|||||||
var/announce_z
|
var/announce_z
|
||||||
if(using_map.station_levels.len)
|
if(using_map.station_levels.len)
|
||||||
announce_z = pick(using_map.station_levels)
|
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
|
/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)
|
if(check_canfire && !can_fire)
|
||||||
|
|||||||
@@ -17,17 +17,17 @@
|
|||||||
log = do_log
|
log = do_log
|
||||||
newscast = do_newscast
|
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)
|
..(do_log, new_sound, do_newscast)
|
||||||
title = "Priority Announcement"
|
title = "Priority Announcement"
|
||||||
announcement_type = "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)
|
..(do_log, new_sound, do_newscast)
|
||||||
title = "[command_name()] Update"
|
title = "[command_name()] Update"
|
||||||
announcement_type = "[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)
|
..(do_log, new_sound, do_newscast)
|
||||||
title = "Security Announcement"
|
title = "Security Announcement"
|
||||||
announcement_type = "Security Announcement"
|
announcement_type = "Security Announcement"
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
Sound(message_sound, zlevels)
|
Sound(message_sound, zlevels)
|
||||||
Log(message, message_title)
|
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)
|
for(var/mob/M in player_list)
|
||||||
if(!istype(M,/mob/new_player) && !isdeaf(M))
|
if(!istype(M,/mob/new_player) && !isdeaf(M))
|
||||||
to_chat(M, "<h2 class='alert'>[title]</h2>")
|
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>")
|
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
|
// 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>")
|
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("<h1 class='alert'>[message_title]</h1>")
|
||||||
to_world("<span class='alert'>[message]</span>")
|
to_world("<span class='alert'>[message]</span>")
|
||||||
if(announcer)
|
if(announcer)
|
||||||
to_world("<span class='alert'> -[html_encode(announcer)]</span>")
|
to_world("<span class='alert'> -[html_encode(announcer)]</span>")
|
||||||
to_world("<br>")
|
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
|
var/command
|
||||||
command += "<h1 class='alert'>[command_name()] Update</h1>"
|
command += "<h1 class='alert'>[command_name()] Update</h1>"
|
||||||
if (message_title)
|
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))
|
if(!istype(M,/mob/new_player) && !isdeaf(M))
|
||||||
to_chat(M, command)
|
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)
|
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)
|
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)
|
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)
|
if(!newscast)
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -106,27 +106,27 @@ datum/announcement/proc/NewsCast(var/message as text, var/message_title as text)
|
|||||||
news.can_be_redacted = 0
|
news.can_be_redacted = 0
|
||||||
announce_newscaster_news(news)
|
announce_newscaster_news(news)
|
||||||
|
|
||||||
datum/announcement/proc/PlaySound(var/message_sound, var/list/zlevels)
|
/datum/announcement/proc/PlaySound(var/message_sound, var/list/zlevels)
|
||||||
if(!message_sound)
|
|
||||||
return
|
|
||||||
|
|
||||||
for(var/mob/M in player_list)
|
for(var/mob/M in player_list)
|
||||||
if(zlevels && !(M.z in zlevels))
|
if(zlevels && !(M.z in zlevels))
|
||||||
continue
|
continue
|
||||||
if(!istype(M,/mob/new_player) && !isdeaf(M))
|
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)
|
PlaySound(message_sound, zlevels)
|
||||||
|
|
||||||
datum/announcement/priority/Sound(var/message_sound)
|
/datum/announcement/proc/Log(message as text, message_title as text)
|
||||||
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)
|
|
||||||
if(log)
|
if(log)
|
||||||
log_game("[key_name(usr)] has made \a [announcement_type]: [message_title] - [message] - [announcer]")
|
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)
|
message_admins("[key_name_admin(usr)] has made \a [announcement_type].", 1)
|
||||||
|
|||||||
@@ -210,6 +210,7 @@
|
|||||||
//purge apparently means clearing the airlock chamber to vacuum (then refilling, handled later)
|
//purge apparently means clearing the airlock chamber to vacuum (then refilling, handled later)
|
||||||
target_pressure = 0
|
target_pressure = 0
|
||||||
state = STATE_DEPRESSURIZE
|
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
|
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
|
signalPump(tag_airpump, 1, 0, target_pressure) //send a signal to start depressurizing
|
||||||
else
|
else
|
||||||
@@ -218,6 +219,7 @@
|
|||||||
|
|
||||||
else if(chamber_pressure <= target_pressure)
|
else if(chamber_pressure <= target_pressure)
|
||||||
state = STATE_PRESSURIZE
|
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
|
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
|
signalPump(tag_airpump, 1, 1, target_pressure) //send a signal to start pressurizing
|
||||||
else
|
else
|
||||||
@@ -227,6 +229,7 @@
|
|||||||
else if(chamber_pressure > target_pressure)
|
else if(chamber_pressure > target_pressure)
|
||||||
if(!cycle_to_external_air)
|
if(!cycle_to_external_air)
|
||||||
state = STATE_DEPRESSURIZE
|
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
|
signalPump(tag_airpump, 1, 0, target_pressure) //send a signal to start depressurizing
|
||||||
else
|
else
|
||||||
memory["purge"] = 1 // should always purge first if using external air, chamber pressure should never be higher than target pressure here
|
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)
|
memory["target_pressure"] = max(target_pressure, MIN_TARGET_PRESSURE)
|
||||||
|
|
||||||
if(STATE_PRESSURIZE)
|
if(STATE_PRESSURIZE)
|
||||||
|
playsound(master, 'sound/machines/2beep.ogg', 100, 0) //VOREStation Add - TTS
|
||||||
if(memory["chamber_sensor_pressure"] >= memory["target_pressure"] * 0.95)
|
if(memory["chamber_sensor_pressure"] >= memory["target_pressure"] * 0.95)
|
||||||
//not done until the pump has reported that it's off
|
//not done until the pump has reported that it's off
|
||||||
if(memory["pump_status"] != "off")
|
if(memory["pump_status"] != "off")
|
||||||
@@ -245,9 +249,11 @@
|
|||||||
cycleDoors(target_state)
|
cycleDoors(target_state)
|
||||||
state = STATE_IDLE
|
state = STATE_IDLE
|
||||||
target_state = TARGET_NONE
|
target_state = TARGET_NONE
|
||||||
|
playsound(master, 'sound/AI/airlockdone.ogg', 100, 0) //VOREStation Add - TTS
|
||||||
|
|
||||||
|
|
||||||
if(STATE_DEPRESSURIZE)
|
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["chamber_sensor_pressure"] <= max(memory["target_pressure"] * 1.05, MIN_TARGET_PRESSURE))
|
||||||
if(memory["pump_status"] != "off")
|
if(memory["pump_status"] != "off")
|
||||||
signalPump(tag_airpump, 0)
|
signalPump(tag_airpump, 0)
|
||||||
@@ -263,6 +269,7 @@
|
|||||||
cycleDoors(target_state)
|
cycleDoors(target_state)
|
||||||
state = STATE_IDLE
|
state = STATE_IDLE
|
||||||
target_state = TARGET_NONE
|
target_state = TARGET_NONE
|
||||||
|
playsound(master, 'sound/AI/airlockdone.ogg', 100, 0) //VOREStation Add - TTS
|
||||||
|
|
||||||
|
|
||||||
memory["processing"] = (state != target_state)
|
memory["processing"] = (state != target_state)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
endWhen = 3
|
endWhen = 3
|
||||||
|
|
||||||
/datum/event/ianstorm/announce()
|
/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")
|
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(rand(50, 300))
|
spawn(7 SECONDS)
|
||||||
command_announcement.Announce("Wait. No, thats wrong. The station passed through an IAN storm!.", "Ian Alert")
|
command_announcement.Announce("Wait. No, thats wrong. The station passed through an IAN storm!.", "Ian Alert")
|
||||||
|
|
||||||
/datum/event/ianstorm/start()
|
/datum/event/ianstorm/start()
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
if (emergency_shuttle.evac)
|
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"))
|
priority_announcement.Announce(replacetext(replacetext(using_map.emergency_shuttle_leaving_dock, "%dock_name%", "[using_map.dock_name]"), "%ETA%", "[estimated_time] minute\s"))
|
||||||
else
|
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)
|
/datum/shuttle/autodock/ferry/emergency/can_launch(var/user)
|
||||||
|
|||||||
BIN
sound/AI/airlockdone.ogg
Normal file
BIN
sound/AI/airlockdone.ogg
Normal file
Binary file not shown.
BIN
sound/AI/airlockin.ogg
Normal file
BIN
sound/AI/airlockin.ogg
Normal file
Binary file not shown.
BIN
sound/AI/airlockout.ogg
Normal file
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
BIN
sound/AI/bright_lights.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/AI/dim_lights.ogg
Normal file
BIN
sound/AI/dim_lights.ogg
Normal file
Binary file not shown.
BIN
sound/AI/drone_pod.ogg
Normal file
BIN
sound/AI/drone_pod.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/AI/ian_storm.ogg
Normal file
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
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
BIN
sound/AI/tramarrived.ogg
Normal file
Binary file not shown.
BIN
sound/AI/tramcalled.ogg
Normal file
BIN
sound/AI/tramcalled.ogg
Normal file
Binary file not shown.
BIN
sound/AI/tramdepart.ogg
Normal file
BIN
sound/AI/tramdepart.ogg
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/machines/2beep.ogg
Normal file
BIN
sound/machines/2beep.ogg
Normal file
Binary file not shown.
BIN
sound/machines/2beephigh.ogg
Normal file
BIN
sound/machines/2beephigh.ogg
Normal file
Binary file not shown.
BIN
sound/machines/2beeplow.ogg
Normal file
BIN
sound/machines/2beeplow.ogg
Normal file
Binary file not shown.
BIN
sound/machines/2beepmid.ogg
Normal file
BIN
sound/machines/2beepmid.ogg
Normal file
Binary file not shown.
BIN
sound/machines/airlockcycle.ogg
Normal file
BIN
sound/machines/airlockcycle.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user