13 Jan, 2009, ajrillik wrote in the 1st comment:
Votes: 0
I am hacking up vw codebase, a gw derivative and can't figure out how to add ansi to the room name, I've successfully added ansi to the room description which was by altering line 810 in act_info.c.

by replacing (in do_look (around line 810?))

send_to_char_formatted( ch->in_room->description, ch );


with


char desc_with_colour[MAX_STRING_LENGTH];
sprintf(desc_with_colour, "%s", ch->in_room->description);
ADD_COLOUR(ch, desc_with_colour, WHITE, MAX_STRING_LENGTH);
send_to_char_formatted(desc_with_colour, ch);


But the room name variable simply eludes me and the grey it shows up as is very dark and hard to read.


Any help would be much appreciated. :)
0.0/1