18 lines
412 B
Plaintext
18 lines
412 B
Plaintext
|
//:: Undead
|
||
|
#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_UNDEAD )
|
||
|
return FALSE;
|
||
|
|
||
|
// If we make it this far, we have passed all tests.
|
||
|
return TRUE;
|
||
|
}
|