Files
cc67a133e5 [MIRROR] [READY] Adds station traits: Small modifiers that can randomly be chosen each round (#3132)
* [READY] Adds station traits: Small modifiers that can randomly be chosen each round

* conflicts

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-08 23:07:24 +00:00

24 lines
931 B
Plaintext

///Data holder for the announcers that can be used in a game, this can be used to have alternative announcements outside of the default e.g.the intern
/datum/centcom_announcer
///Roundshift start audio
var/welcome_sounds = list()
///Sounds made when announcement is receivedc
var/alert_sounds = list()
///Sounds made when command report is received
var/command_report_sounds = list()
///Event audio, can be used for specific event announcements and is assoc key - sound. If no sound is found the default is used.area
var/event_sounds = list()
///Override this to have a custom message to show instead of the normal priority announcement
var/custom_alert_message
/datum/centcom_announcer/proc/get_rand_welcome_sound()
return pick(welcome_sounds)
/datum/centcom_announcer/proc/get_rand_alert_sound()
return pick(alert_sounds)
/datum/centcom_announcer/proc/get_rand_report_sound()
return pick(command_report_sounds)