Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Compiling the server
➜ Eq color
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Chris
(37 posts) Bio
|
Date
| Wed 11 Jul 2001 10:28 PM (UTC) |
Message
| Does anybody know how to change the eq colors.
Exs. (Glowing)(Humming) a staff of rage? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 12 Jul 2001 12:52 AM (UTC) |
Message
| 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;
}
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Chris
(37 posts) Bio
|
Date
| Reply #2 on Thu 12 Jul 2001 12:02 PM (UTC) |
Message
| 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. | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 12 Jul 2001 09:15 PM (UTC) |
Message
| True, I don't know how to do that. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
13,588 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top