Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

71 lines
2.2 KiB
Plaintext

//::///////////////////////////////////////////////
//:: FileName sc_011 (no halflings)
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 4/17/2005 8:50:02 AM
//:://////////////////////////////////////////////
#include "prc_inc_racial"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iRace = MyPRCGetRacialType(oPC);
if (iRace == RACIAL_TYPE_HUMAN || iRace == RACIAL_TYPE_HALFELF || iRace == RACIAL_TYPE_ELF || iRace == RACIAL_TYPE_HALFORC || iRace == RACIAL_TYPE_GNOME || iRace == RACIAL_TYPE_DWARF)
return TRUE;
else
{
return FALSE;
}
}
/* int StartingConditional()
{
// Reject player races
if(GetRacialType(GetPCSpeaker()) == RACIAL_TYPE_HALFLING)
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_OOZE)
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;
}
*/