19 lines
563 B
Plaintext
19 lines
563 B
Plaintext
#include "prc_inc_racial"
|
|
|
|
void main()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
SetSubRace(oPC,"");
|
|
int nRace=MyPRCGetRacialType(oPC);
|
|
int nApp=0;
|
|
if (nRace==RACIAL_TYPE_ELF) nApp=1;
|
|
else if (nRace==RACIAL_TYPE_GNOME) nApp=2;
|
|
else if (nRace==RACIAL_TYPE_HALFLING) nApp=3;
|
|
else if (nRace==RACIAL_TYPE_HALFELF) nApp=4;
|
|
else if (nRace==RACIAL_TYPE_HALFORC) nApp=5;
|
|
else if (nRace==RACIAL_TYPE_HUMAN) nApp=6;
|
|
SetCreatureAppearanceType(oPC,nApp);
|
|
SetCreatureTailType(14,oPC);
|
|
SetCreatureBodyPart(CREATURE_PART_HEAD,d6(),oPC);
|
|
}
|