NWNDS/nwnds_module/sc_checknonelf.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

53 lines
1.7 KiB
Plaintext

//::///////////////////////////////////////////////
//:: FileName sc_checknonelf
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/28/2002 1:25:42 AM
//:://////////////////////////////////////////////
int StartingConditional()
{
// Reject player races
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_ELF)
return FALSE;
// Reject other races
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_ABERRATION)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_ANIMAL)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_BEAST)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_CONSTRUCT)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_DRAGON)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_ELEMENTAL)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_FEY)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_GIANT)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_HUMANOID_GOBLINOID)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_MAGICAL_BEAST)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_HUMANOID_MONSTROUS)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_HUMANOID_ORC)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_OUTSIDER)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_HUMANOID_REPTILIAN)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_SHAPECHANGER)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_UNDEAD)
return FALSE;
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_VERMIN)
return FALSE;
return TRUE;
}