HoS_PRC8/_mod/_module/nss/pc_custom_reset.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

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);
}