Merge pull request #4648 from GinjaNinja32/master

Add colour to AI private channel (144.7)
This commit is contained in:
Ccomp5950
2014-03-30 13:46:13 -05:00
2 changed files with 7 additions and 0 deletions

View File

@@ -350,6 +350,8 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept
freq_text = "Special Ops" freq_text = "Special Ops"
if(1345) if(1345)
freq_text = "Response Team" freq_text = "Response Team"
if(1447)
freq_text = "AI Private"
//There's probably a way to use the list var of channels in code\game\communications.dm to make the dept channels non-hardcoded, but I wasn't in an experimentive mood. --NEO //There's probably a way to use the list var of channels in code\game\communications.dm to make the dept channels non-hardcoded, but I wasn't in an experimentive mood. --NEO
@@ -378,6 +380,10 @@ var/message_delay = 0 // To make sure restarting the recentmessages list is kept
else if (display_freq == COMM_FREQ) else if (display_freq == COMM_FREQ)
part_a = "<span class='comradio'><span class='name'>" part_a = "<span class='comradio'><span class='name'>"
// AI private channel
else if (display_freq == 1447)
part_a = "<span class='airadio'><span class='name'>"
// department radio formatting (poorly optimized, ugh) // department radio formatting (poorly optimized, ugh)
else if (display_freq == SEC_FREQ) else if (display_freq == SEC_FREQ)
part_a = "<span class='secradio'><span class='name'>" part_a = "<span class='secradio'><span class='name'>"

View File

@@ -30,6 +30,7 @@ em {font-style: normal; font-weight: bold;}
.comradio {color: #193A7A;} .comradio {color: #193A7A;}
.syndradio {color: #6D3F40;} .syndradio {color: #6D3F40;}
.centradio {color: #5C5C8A;} .centradio {color: #5C5C8A;}
.airadio {color: #FF00FF;}
.secradio {color: #A30000;} .secradio {color: #A30000;}
.engradio {color: #A66300;} .engradio {color: #A66300;}