Skip to content

Commit

Permalink
Makes sillicon chat more visible (tgstation#33222)
Browse files Browse the repository at this point in the history
Made it green on black

Forgot to remove it at the bold thingy
  • Loading branch information
DaxDupont authored and ninjanomnom committed Dec 6, 2017
1 parent 5a7e3b4 commit 80ec172
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions code/modules/goonchat/browserassets/css/browserOutput.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ em {font-style: normal; font-weight: bold;}

.say {}
.deadsay {color: #5c00e6;}
.binarysay {color: #20c20e; background-color: #000000; display: block;}
.binarysay a {color: #00ff00;}
.binarysay a:active, .binarysay a:visited {color: #88ff88;}
.radio {color: #008000;}
.sciradio {color: #993399;}
.comradio {color: #948f02;}
Expand Down
4 changes: 2 additions & 2 deletions code/modules/mob/living/silicon/say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
var/mob/living/silicon/S = src
desig = trim_left(S.designation + " " + S.job)
var/message_a = say_quote(message, get_spans())
var/rendered = "<i><span class='game say'>Robotic Talk, <span class='name'>[name]</span> <span class='message'>[message_a]</span></span></i>"
var/rendered = "<span class='binarysay'>Robotic Talk, <span class='name'>[name]</span> <span class='message'>[message_a]</span></span>"
for(var/mob/M in GLOB.player_list)
if(M.binarycheck())
if(isAI(M))
var/renderedAI = "<i><span class='game say'>Robotic Talk, <a href='?src=[REF(M)];track=[html_encode(name)]'><span class='name'>[name] ([desig])</span></a> <span class='message'>[message_a]</span></span></i>"
var/renderedAI = "<span class='binarysay'>Robotic Talk, <a href='?src=[REF(M)];track=[html_encode(name)]'><span class='name'>[name] ([desig])</span></a> <span class='message'>[message_a]</span></span>"
to_chat(M, renderedAI)
else
to_chat(M, rendered)
Expand Down
3 changes: 3 additions & 0 deletions interface/stylesheet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ em {font-style: normal; font-weight: bold;}

.say {}
.deadsay {color: #5c00e6;}
.binarysay {color: #20c20e; background-color: #000000; display: block;}
.binarysay a {color: #00ff00;}
.binarysay a:active, .binarysay a:visited {color: #88ff88;}
.radio {color: #008000;}
.sciradio {color: #993399;}
.comradio {color: #948f02;}
Expand Down

0 comments on commit 80ec172

Please sign in to comment.