WoR_PRC8/_module/nss/check_subrace_va.nss
Jaysyn904 b5e28e52f4 Initial commit
Initial commit [1.18]
2025-04-03 11:49:34 -04:00

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;
}