mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-12 16:22:42 +01:00
d6dc425a0b
- - - Simply does as it implies on the tin. Ports the 'Busy Space' modules and reworks them slightly to function on TG. It does not broadcast to Common as it does on Virgo/Polaris. Instead, it functions similar to announcements, near identically in fact, having its own little broadcast. I'll be posting examples alongside this. If it's a necessity to be broadcasting over Common, I'd have to fight with it a bit, but can probably do so without issue. - - -
14 lines
646 B
Plaintext
14 lines
646 B
Plaintext
/////////
|
|
// This is simply a copy of 'priority announcements' with minor edits to better fit the ATC system.
|
|
// This is required, as we don't have a PA system like most of the Bay-based servers.
|
|
/////////
|
|
/proc/atc_announce(message, title = "Airspace Announcements", sound = 'sound/misc/compiler-stage2.ogg')
|
|
if(!message)
|
|
return
|
|
|
|
for(var/mob/M in GLOB.player_list)
|
|
if(!isnewplayer(M) && M.can_hear())
|
|
to_chat(M, "<span class='bold'><font color = green>[html_encode(title)]</font color><BR>[html_encode(message)]</span><BR>")
|
|
if(M.client.prefs.toggles & SOUND_ANNOUNCEMENTS)
|
|
SEND_SOUND(M, sound('sound/misc/compiler-stage2.ogg'))
|