Is it possible to change the colors of glowing etc. from green to exs. yellow?
(Magical) (Glowing) (Humming) Colors?
Posted by Fletch19 on Fri 20 Jun 2003 11:52 AM — 7 posts, 25,830 views.
Or can i do it in smaug??
The code in act_info.c seems to do that ...
I think you will find the actual colours in system/colors.dat - for example AT_HUNGRY, AT_THIRSTY would be:
/*
* Output the formatted list. -Color support by Thoric
*/
for ( iShow = 0; iShow < nShow; iShow++ )
{
switch(pitShow[iShow]) {
default:
set_char_color( AT_OBJECT, ch );
break;
case ITEM_BLOOD:
set_char_color( AT_BLOOD, ch );
break;
case ITEM_MONEY:
case ITEM_TREASURE:
set_char_color( AT_YELLOW, ch );
break;
case ITEM_COOK:
case ITEM_FOOD:
set_char_color( AT_HUNGRY, ch );
break;
case ITEM_DRINK_CON:
case ITEM_FOUNTAIN:
set_char_color( AT_THIRSTY, ch );
break;
case ITEM_FIRE:
set_char_color( AT_FIRE, ch );
break;
case ITEM_SCROLL:
case ITEM_WAND:
case ITEM_STAFF:
set_char_color( AT_MAGIC, ch );
break;
}
I think you will find the actual colours in system/colors.dat - for example AT_HUNGRY, AT_THIRSTY would be:
1057 hungry~ 3
1058 thirsty~ 12
Where do i find the act_info.c ?
I meant that act_info.c was part of SMAUG - the colours are not controlled by the area editor. It is one of the source files you use to compile it.
Act_info.c will be in the src directory if you actually have the source code for your mud instead of the precompiled bindary. If you are using a precompiled version, I'm afraid yer pretty well stuck with the standard colors for weapon flags and whatnot.
He could try changing colors.dat - that might work.