diff --git a/modular_doppler/announcer/code/config.dm b/modular_doppler/announcer/code/config.dm new file mode 100644 index 0000000000000..2150ee63a154c --- /dev/null +++ b/modular_doppler/announcer/code/config.dm @@ -0,0 +1,20 @@ +/datum/config_entry/string/alert_green + default = "At this time, an all-clear signal is given. All hands may return to standard operating procedures." + +/datum/config_entry/string/alert_blue_upto + default = "Shipboard intelligence has received credible information regarding a security threat aboard this vessel. Security staff may search crew members with authorization or probable cause." + +/datum/config_entry/string/alert_blue_downto + default = "The active threat has passed. Security staff is no longer permitted to carry lethal weaponry, but may still search crew members with authorization or probable cause. Please, obey relevant instructions given by security staff until an all-clear signal is given." + +/datum/config_entry/string/alert_red_upto + default = "An active threat has been confirmed. Security and command staff are now authorized to use lethal weaponry and may conduct random search and seizures." + +/datum/config_entry/string/alert_red_downto + default = "The destruction of this vessel has been averted. There is still however an active threat to the ship. Security and command staff are now authorized to use lethal weaponry and may conduct random search and seizures." + +/datum/config_entry/string/alert_delta_upto + default = "The destruction of this vessel is imminent. All hands are required to obey all instructions from security and command staff. Any violation of these orders permits immediate capital prosecution. This is not a drill." + +/datum/config_entry/string/alert_delta_downto + default = "The destruction of this vessel is still imminent. All hands are required to obey all instructions from security and command staff. Any violation of these orders permits immediate capital prosecution. This is not a drill." diff --git a/modular_doppler/announcer/code/default_announcer.dm b/modular_doppler/announcer/code/default_announcer.dm new file mode 100644 index 0000000000000..9616cb8192573 --- /dev/null +++ b/modular_doppler/announcer/code/default_announcer.dm @@ -0,0 +1,22 @@ +/datum/centcom_announcer/default + welcome_sounds = list('modular_doppler/announcer/sound/misc/welcome.ogg') + alert_sounds = list('modular_doppler/announcer/sound/alerts/alert.ogg') + command_report_sounds = list('modular_doppler/announcer/sound/alerts/commandreport.ogg') + event_sounds = list( + ANNOUNCER_AIMALF = 'modular_doppler/announcer/sound/alerts/aimalf.ogg', + ANNOUNCER_ALIENS = 'modular_doppler/announcer/sound/alerts/aliens.ogg', + ANNOUNCER_ANIMES = 'modular_doppler/announcer/sound/alerts/animes.ogg', + ANNOUNCER_GRANOMALIES= 'modular_doppler/announcer/sound/alerts/gravanomalies.ogg', + ANNOUNCER_INTERCEPT = 'modular_doppler/announcer/sound/alerts/intercept.ogg', + ANNOUNCER_IONSTORM = 'modular_doppler/announcer/sound/alerts/ionstorm.ogg', + ANNOUNCER_METEORS = 'modular_doppler/announcer/sound/alerts/meteors.ogg', + ANNOUNCER_OUTBREAK5 = 'modular_doppler/announcer/sound/alerts/outbreak5.ogg', + ANNOUNCER_OUTBREAK7 = 'modular_doppler/announcer/sound/alerts/outbreak7.ogg', + ANNOUNCER_POWEROFF = 'modular_doppler/announcer/sound/alerts/poweroff.ogg', + ANNOUNCER_POWERON = 'modular_doppler/announcer/sound/alerts/poweron.ogg', + ANNOUNCER_RADIATION = 'modular_doppler/announcer/sound/alerts/radiation.ogg', + ANNOUNCER_SHUTTLECALLED = 'modular_doppler/announcer/sound/alerts/shuttle_called.ogg', + ANNOUNCER_SHUTTLEDOCK = 'modular_doppler/announcer/sound/alerts/shuttle_docked.ogg', + ANNOUNCER_SHUTTLERECALLED = 'modular_doppler/announcer/sound/alerts/shuttle_recalled.ogg', + ANNOUNCER_SPANOMALIES = 'modular_doppler/announcer/sound/alerts/spanomalies.ogg', + ) diff --git a/modular_doppler/announcer/code/security_level_datums.dm b/modular_doppler/announcer/code/security_level_datums.dm new file mode 100644 index 0000000000000..6ea0da2f7750d --- /dev/null +++ b/modular_doppler/announcer/code/security_level_datums.dm @@ -0,0 +1,13 @@ +/datum/security_level/green + sound = 'modular_doppler/announcer/sound/security_levels/green.ogg' + +/datum/security_level/blue + sound = 'modular_doppler/announcer/sound/security_levels/blue.ogg' + +/datum/security_level/red + sound = 'modular_doppler/announcer/sound/security_levels/red.ogg' + +/datum/security_level/delta + sound = 'modular_doppler/announcer/sound/security_levels/delta.ogg' + looping_sound = 'modular_doppler/announcer/sound/misc/alarm_delta.ogg' + looping_sound_interval = 8 SECONDS diff --git a/modular_doppler/announcer/code/shuttle_area.dm b/modular_doppler/announcer/code/shuttle_area.dm new file mode 100644 index 0000000000000..1b0b2efc92a07 --- /dev/null +++ b/modular_doppler/announcer/code/shuttle_area.dm @@ -0,0 +1,6 @@ +/area/shuttle/arrival/on_joining_game(mob/living/boarder) + if(SSshuttle.arrivals?.mode == SHUTTLE_CALL) + var/atom/movable/screen/splash/Spl = new(null, boarder.client, TRUE) + Spl.Fade(TRUE) + boarder.playsound_local(get_turf(boarder), 'modular_doppler/announcer/sound/misc/arrival.ogg', 25) + boarder.update_parallax_teleport() diff --git a/modular_doppler/announcer/sound/alerts/aimalf.ogg b/modular_doppler/announcer/sound/alerts/aimalf.ogg new file mode 100644 index 0000000000000..743c506aa6b14 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/aimalf.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/alert.ogg b/modular_doppler/announcer/sound/alerts/alert.ogg new file mode 100644 index 0000000000000..eec7250065cc1 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/alert.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/aliens.ogg b/modular_doppler/announcer/sound/alerts/aliens.ogg new file mode 100644 index 0000000000000..5091548b8159c Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/aliens.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/animes.ogg b/modular_doppler/announcer/sound/alerts/animes.ogg new file mode 100644 index 0000000000000..e9ffd5bc360bb Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/animes.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/commandreport.ogg b/modular_doppler/announcer/sound/alerts/commandreport.ogg new file mode 100644 index 0000000000000..b4d3de738e3ee Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/commandreport.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/gravanomalies.ogg b/modular_doppler/announcer/sound/alerts/gravanomalies.ogg new file mode 100644 index 0000000000000..0b0c888ea4d3f Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/gravanomalies.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/intercept.ogg b/modular_doppler/announcer/sound/alerts/intercept.ogg new file mode 100644 index 0000000000000..79a1c37dfd4ff Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/intercept.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/ionstorm.ogg b/modular_doppler/announcer/sound/alerts/ionstorm.ogg new file mode 100644 index 0000000000000..8a53cdab7fd59 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/ionstorm.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/meteors.ogg b/modular_doppler/announcer/sound/alerts/meteors.ogg new file mode 100644 index 0000000000000..b170087e79958 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/meteors.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/outbreak5.ogg b/modular_doppler/announcer/sound/alerts/outbreak5.ogg new file mode 100644 index 0000000000000..85630c8070c36 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/outbreak5.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/outbreak7.ogg b/modular_doppler/announcer/sound/alerts/outbreak7.ogg new file mode 100644 index 0000000000000..fea92f9bbd90b Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/outbreak7.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/poweroff.ogg b/modular_doppler/announcer/sound/alerts/poweroff.ogg new file mode 100644 index 0000000000000..341c62f7c9b04 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/poweroff.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/poweron.ogg b/modular_doppler/announcer/sound/alerts/poweron.ogg new file mode 100644 index 0000000000000..f4392cf94445e Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/poweron.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/radiation.ogg b/modular_doppler/announcer/sound/alerts/radiation.ogg new file mode 100644 index 0000000000000..2fbceedba4600 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/radiation.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/shuttle_called.ogg b/modular_doppler/announcer/sound/alerts/shuttle_called.ogg new file mode 100644 index 0000000000000..3bb40120d510e Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/shuttle_called.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/shuttle_docked.ogg b/modular_doppler/announcer/sound/alerts/shuttle_docked.ogg new file mode 100644 index 0000000000000..0234e3399338e Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/shuttle_docked.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/shuttle_recalled.ogg b/modular_doppler/announcer/sound/alerts/shuttle_recalled.ogg new file mode 100644 index 0000000000000..b30096174abf1 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/shuttle_recalled.ogg differ diff --git a/modular_doppler/announcer/sound/alerts/spanomalies.ogg b/modular_doppler/announcer/sound/alerts/spanomalies.ogg new file mode 100644 index 0000000000000..6a8b65ddfaeb7 Binary files /dev/null and b/modular_doppler/announcer/sound/alerts/spanomalies.ogg differ diff --git a/modular_doppler/announcer/sound/misc/alarm_delta.ogg b/modular_doppler/announcer/sound/misc/alarm_delta.ogg new file mode 100644 index 0000000000000..c93fd01417b29 Binary files /dev/null and b/modular_doppler/announcer/sound/misc/alarm_delta.ogg differ diff --git a/modular_doppler/announcer/sound/misc/arrival.ogg b/modular_doppler/announcer/sound/misc/arrival.ogg new file mode 100644 index 0000000000000..c24f25169fc61 Binary files /dev/null and b/modular_doppler/announcer/sound/misc/arrival.ogg differ diff --git a/modular_doppler/announcer/sound/misc/welcome.ogg b/modular_doppler/announcer/sound/misc/welcome.ogg new file mode 100644 index 0000000000000..18141a263d1b5 Binary files /dev/null and b/modular_doppler/announcer/sound/misc/welcome.ogg differ diff --git a/modular_doppler/announcer/sound/security_levels/blue.ogg b/modular_doppler/announcer/sound/security_levels/blue.ogg new file mode 100644 index 0000000000000..c5a1b9ff310f7 Binary files /dev/null and b/modular_doppler/announcer/sound/security_levels/blue.ogg differ diff --git a/modular_doppler/announcer/sound/security_levels/delta.ogg b/modular_doppler/announcer/sound/security_levels/delta.ogg new file mode 100644 index 0000000000000..7a9522c1ff65a Binary files /dev/null and b/modular_doppler/announcer/sound/security_levels/delta.ogg differ diff --git a/modular_doppler/announcer/sound/security_levels/green.ogg b/modular_doppler/announcer/sound/security_levels/green.ogg new file mode 100644 index 0000000000000..3489ca3e15b1a Binary files /dev/null and b/modular_doppler/announcer/sound/security_levels/green.ogg differ diff --git a/modular_doppler/announcer/sound/security_levels/red.ogg b/modular_doppler/announcer/sound/security_levels/red.ogg new file mode 100644 index 0000000000000..49800f1f67282 Binary files /dev/null and b/modular_doppler/announcer/sound/security_levels/red.ogg differ diff --git a/tgstation.dme b/tgstation.dme index 15915e1924c05..fcd1fe7243b75 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -6461,6 +6461,10 @@ #include "modular_doppler\administration\code\preferences.dm" #include "modular_doppler\administration\code\whitelisting.dm" #include "modular_doppler\advanced_reskin\code\advanced_reskin.dm" +#include "modular_doppler\announcer\code\config.dm" +#include "modular_doppler\announcer\code\default_announcer.dm" +#include "modular_doppler\announcer\code\security_level_datums.dm" +#include "modular_doppler\announcer\code\shuttle_area.dm" #include "modular_doppler\automapper\code\area_spawn_entries.dm" #include "modular_doppler\automapper\code\area_spawn_subsystem.dm" #include "modular_doppler\automapper\code\automap_template.dm"