WoR_PRC8/_module/nss/check_subrace_dr.nss

21 lines
528 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
//:: Drow & relations
#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 ( GetRacialType(oPC) != RACIAL_TYPE_DROW_FEMALE &&
GetRacialType(oPC) != RACIAL_TYPE_DROW_MALE &&
GetRacialType(oPC) != RACIAL_TYPE_HALFDROW )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}