WoR_PRC8/_module/nss/check_subrace_va.nss

18 lines
412 B
Plaintext
Raw Normal View History

2025-04-03 11:49:34 -04:00
//:: 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;
}