Skip to content

Commit

Permalink
Merge pull request #157 from W4rd3nn/announcer-flavor
Browse files Browse the repository at this point in the history
[MODULAR] Announcer Reflavor
  • Loading branch information
CliffracerX authored Oct 27, 2024
2 parents 760a45b + e37a280 commit 291b948
Show file tree
Hide file tree
Showing 30 changed files with 65 additions and 0 deletions.
20 changes: 20 additions & 0 deletions modular_doppler/announcer/code/config.dm
Original file line number Diff line number Diff line change
@@ -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."
22 changes: 22 additions & 0 deletions modular_doppler/announcer/code/default_announcer.dm
Original file line number Diff line number Diff line change
@@ -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',
)
13 changes: 13 additions & 0 deletions modular_doppler/announcer/code/security_level_datums.dm
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions modular_doppler/announcer/code/shuttle_area.dm
Original file line number Diff line number Diff line change
@@ -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()
Binary file not shown.
Binary file added modular_doppler/announcer/sound/alerts/alert.ogg
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.
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 added modular_doppler/announcer/sound/misc/arrival.ogg
Binary file not shown.
Binary file added modular_doppler/announcer/sound/misc/welcome.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6511,6 +6511,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"
Expand Down

0 comments on commit 291b948

Please sign in to comment.