[CODE]

From: Andrew Jones (mch@gladstone.uoregon.edu)
Date: 10/14/96


Okie a fellow Imp ohh mine recently imped races, and I am trying to put
races in the Stat screen, but when I try it removes the Class field from
the Stat screen(Immo stat screen)  Here is a code snippet:
  if (IS_NPC(k)) {
    strcpy(buf, "Monster Class: ");
    sprinttype(k->player.class, npc_class_types, buf2);
  } else {
    strcpy(buf, "Class: ");
    sprinttype(k->player.class, pc_class_types, buf2);
  }
  strcat(buf, buf2);

  if (IS_NPC(k)) {
    strcpy(buf, "Monster Race: ");
    sprinttype(k->player.race, npc_race_types, buf2);
  } else {
    strcpy(buf, "Race: ");
    sprinttype(k->player.race, pc_race_types, buf2);
  }
  strcat(buf, buf2);
Thanks in advance for any help, ohh here is what the stat screen
displays now:
MALE PC 'Mch'  IDNum: [    3], In room [ 1204]
Title: the Implementor
L-Des: <None>
Race: Dragon, Lev: [110], XP: [209000000], Align: [   0]
Created: [Mon Oct 14], Last Logon: [Tue Oct 15], Played [1h 1m], Age
[17]
Hometown: [1], Speaks: [0/0/0], (STL[220]/per[25]/NSTL[3]), OLC[0]
Str: [21/9]  Int: [13]  Wis: [15]  Dex: [13]  Con: [12]  Cha: [11]
Hit p.:[636/636+13]  Mana p.:[100/100+8]  Move p.:[483/483+20]
Coins: [        0], Bank: [        0] (Total: 0)
AC: [100/10], Hitroll: [ 0], Damroll: [ 0], Saving throws: [0/0/0/0/0]
Pos: Standing, Fighting: Nobody, Connected: Playing
Default position: Standing, Idle Timer (in tics) [0]
PLR: CSH LOADRM
PRF: BRIEF AUTOEX LIGHT C1 C2 L1 L2
Carried: weight: 137, items: 13; Items in: inventory: 13, eq: 0
Hunger: -1, Thirst: -1, Drunk: -1
Master is: <none>, Followers are:
AFF: NOBITS

|*******************************************************************|
| Andrew Jones             Computer and Information Science Major   |
| E-Mail:                                                           |
|      Gladstone:               mch@gladstone.uoregon.edu           |
|      Other:                   mch@thantos.mudservices.com         |
|*******************************************************************|
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST