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

86 lines
2.7 KiB
Plaintext

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