36 lines
794 B
Plaintext
36 lines
794 B
Plaintext
|
//:: Orcs & Goblins
|
||
|
|
||
|
#include "prc_inc_racial"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
if(GetIsDM(GetPCSpeaker()))
|
||
|
{ return TRUE; }
|
||
|
|
||
|
// Get the PC who is involved in this conversation
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// The PC must be one of the listed races.
|
||
|
if ( MyPRCGetRacialType(oPC) != RACIAL_TYPE_HUMANOID_GOBLINOID &&
|
||
|
MyPRCGetRacialType(oPC) != RACIAL_TYPE_HUMANOID_ORC)
|
||
|
return FALSE;
|
||
|
|
||
|
// If we make it this far, we have passed all tests.
|
||
|
return TRUE;
|
||
|
}
|
||
|
|
||
|
/* int StartingConditional()
|
||
|
{
|
||
|
if(GetIsDM(GetPCSpeaker()))
|
||
|
{ return TRUE; }
|
||
|
object oPC = GetPCSpeaker();
|
||
|
string Subrace = GetStringLowerCase(GetSubRace(oPC));
|
||
|
if(Subrace == "orc" || Subrace == "bugbear")
|
||
|
{
|
||
|
return TRUE;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return FALSE;
|
||
|
}
|
||
|
} */
|