Aschbourne_PRC8/_module/nss/deity_elf.nss

21 lines
413 B
Plaintext
Raw Normal View History

2024-06-14 10:48:20 -04:00
//::
//:: deity_elf.nss
//::
//:: Returns true if you're an Elf but not a Drow
#include "prc_inc_racial"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iRace = MyPRCGetRacialType(oPC);
int iSubrace = GetRacialType(oPC);
if (iSubrace == RACIAL_TYPE_DROW_MALE || iSubrace == RACIAL_TYPE_DROW_FEMALE) return FALSE;
int iResult = iRace == RACIAL_TYPE_ELF;
return iResult;
}