Author Topic: Color-coding Room Titles  (Read 165 times)

Cind

  • Posts: 1177
Color-coding Room Titles
« on: March 12, 2017, 01:41:08 AM »
What if you could change the color, foreground and background, of room titles that belong to different areas?

Salt Flats, Silt Sea, Allanak, Westside rinth, eastside rinth, Grey Forest, Tuluk, Luir's, and Storm. Maybe a couple of others.

And while we're at it changing the visible exits foreground and background colors.

>l

A Small Apartment [E, Quit, Save]

This is a small apartment with a skeleton in it from the previous owner. You can barely make out a whiff of fresh-baked apple pie.
A large bag is lying here.
A human skeleton is lying here, being creepy.
Look, a petting tregil.  So silky...Feel him.

Cind

  • Posts: 1177
Re: Color-coding Room Titles
« Reply #1 on: March 12, 2017, 03:11:36 AM »
God damn it never mind this already exists.

EDIT: You can't do different regions right now, but the code for doing it in one color everywhere exists.
« Last Edit: March 12, 2017, 03:17:40 AM by Cind »
Look, a petting tregil.  So silky...Feel him.

Jeax

  • Posts: 236
Re: Color-coding Room Titles
« Reply #2 on: March 14, 2017, 07:53:00 AM »
You could also do this in your client with some clever regex and highlighting. grab all text until [ and color it. Should also be able to grab text in []. If you wanted, you could just gag that line and then store those two values in variables and output them as you please.