How i can modify the layout of room description ?

Posted by Fegat\\n0 on Wed 05 Jun 2002 08:34 AM — 3 posts, 14,053 views.

#0
In the original source code the layout of room was:

Title of the room
Description Description Description Description
Description Description Description Description
Description Description Description Description
Description Description Description Description
Exits nord south est up
Mob

i want to modify this layout in
Title of the room <= in yellow
Description Description Description Description <= in grey
Description Description Description Description <= in grey
Description Description Description Description <= in grey
[Exits: Nord South Est Up] <= in grey (where the first letter of exit is in upper case and in yellow)
Mob <= in grey

anyone can help me?
pls

mau
Australia Forum Administrator #1
This is not really an Area Editor question, because the area editor just stores the description as pure text. You would need to modify the SMAUG server (or ROM server) to display the colours you want. For example, right now in SMAUG, in file act_info.c, around line 992 are the lines:


set_char_color( AT_RMNAME, ch );
send_to_char( ch->in_room->name, ch );
send_to_char( "\n\r", ch );
set_char_color( AT_RMDESC, ch );
[\mono]

Similarly, further down in "do_exits" is the code for the exit colour ...


set_char_color( AT_EXITS, ch );
Australia Forum Administrator #2
After reading the code a bit more it seems they have allowed for colour customisation already. In the system folder there is a file COLORS.DAT. Edit that, to change your colours. Here is part of it:


1048 roomname~ 15
1049 roomdesc~ 11
1050 object~ 10
1051 person~ 13
1052 list~ 12
1053 bye~ 10
1054 gold~ 11
1055 gtell~ 12
1056 note~ 10
1057 hungry~ 3
1058 thirsty~ 12
1059 fire~ 9
1060 sober~ 15
1061 wearoff~ 11
1062 exits~ 15