netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Feature: Colors in Chat

Open SephiTrax opened this issue 11 years ago • 4 comments

Would it be possible to assign colors to chat?

Like when there's a run the text is displayed in RED or when you get coins in BLUE etc?

SephiTrax avatar Jul 07 '15 12:07 SephiTrax

I took at shot at this. You can checkout my branch or commit

Here are some silly colors:

bild 2

When using system-msg, you can pass a style (which maps 1-1 to a CSS style) which is then applied to the message in the log pane (like e.g. start-turn or change or click-draw).

The styles that are currently used are of course only for demonstration purposes. I'm open for ideas of which style to apply to which event.

I think the messages could be further improved by providing more information (e.g. how much credits you had at the start of your turn) like OCTGN does, which would help keeping track what happened during a turn, especially if something was manually adjusted, but that's another topic.

comments & criticism welcome :-)

queueseven avatar Aug 03 '15 15:08 queueseven

I'm not sure this example adds to readability... Some different shades for Corp/Runner maybe, but not a whole rainbow of colors ;-)

Also the manual changes via non-prompt interface - dragging cards, +/- credits being higlighted (not necessarily with red) is a nice touch, I like it.

zaroth avatar Feb 19 '16 19:02 zaroth

Suggestion of colour scheme:

  • Corp action: slight blue shade
  • Runner action: slight red shade
  • Card trashes: orange
  • Manual changes: aqua
  • System message: grey
  • Chat: white

My thoughts for singling trashing out are to make things like server overwrites more obvious (it can be easy to miss).

erbridge avatar Sep 27 '16 14:09 erbridge

At the moment card names are highlighted in orange and stand out. If everything in the chat log is coloured then nothing stands out anymore.

mtgred avatar Mar 29 '17 23:03 mtgred