Module commit
Module commit.
This commit is contained in:
21
_module/nss/deity_elf.nss
Normal file
21
_module/nss/deity_elf.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//::
|
||||
//:: 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;
|
||||
|
||||
}
|
Reference in New Issue
Block a user