//::///////////////////////////////////////////////
//:: FileName BG 1
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: David Novotny
//:: Created On: 10/20/17
//:://////////////////////////////////////////////
#include "te_functions"

int StartingConditional()
{
    // Make sure the player has the required feats
    object oPC = GetPCSpeaker();
    object oItem = GetItemPossessedBy(oPC, "PC_Data_Object");
    int nSubrace = GetLocalInt(oItem, "CC0");
    return (
        nSubrace == 1177 ||  // Copper Elf
        nSubrace == 1178 ||  // Green Elf
        nSubrace == 1180 ||  // Silver Elf
        nSubrace == 1181 ||  // Gold Elf
        GetRacialType(oPC) == RACIAL_TYPE_HALFELF
    );
}

/* -- Old Code (removed - LordValinar 12/23/2023) -- *
    if(GetHasFeat(1177,oPC) ||
GetHasFeat(1178,oPC) ||
GetHasFeat(1179,oPC) ||
GetHasFeat(1180,oPC) ||
GetHasFeat(1181,oPC) ||
GetRacialType(oPC) == RACIAL_TYPE_HALFELF)
    {
        return TRUE;
    }

    return FALSE;
*/
