26 lines
525 B
Plaintext
26 lines
525 B
Plaintext
#include "prc_inc_racial"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetLastUsedBy();
|
|
|
|
if (GetIsPC(oPC))
|
|
{
|
|
if (GetRacialType(oPC) == RACIAL_TYPE_DROW_FEMALE ||
|
|
GetRacialType(oPC) == RACIAL_TYPE_DROW_MALE)
|
|
{
|
|
object oItem = GetItemPossessedBy(oPC, "SHA_DROW_ACADEMY_RECALL");
|
|
if(GetIsObjectValid(oItem))
|
|
{
|
|
ActionStartConversation(oPC, "");
|
|
ActionOpenDoor(OBJECT_SELF);
|
|
}
|
|
else
|
|
{
|
|
ActionStartConversation(oPC, "drow_academy_re1");
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|