Aschbourne_PRC8/_module/nss/deity_elf.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

21 lines
413 B
Plaintext

//::
//:: 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;
}