Eq color

Posted by Chris on Wed 11 Jul 2001 10:28 PM — 4 posts, 17,348 views.

#0
Does anybody know how to change the eq colors.
Exs. (Glowing)(Humming) a staff of rage?
Australia Forum Administrator #1
Looks like the colours are done here in the server, in file act_info.c:


    /*
     * 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;
  }
#2
I mean i have made a staff called (Glowing)(Humming)The staff of rage.
Now where do i change the color only on that item?

In the act_info.c its all staffs who becomes a new color.
Australia Forum Administrator #3
True, I don't know how to do that.