NWNDS/nwn_dark_sun/hs_chkmaddoxdoc.nss

24 lines
459 B
Plaintext
Raw Normal View History

/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.6
For download info, please visit:
http://www.lilacsoul.revility.com */
int StartingConditional()
{
object oPC = GetPCSpeaker();
if (!(GetLocalInt(oPC, "maddoxapproves") == 1)) return FALSE;
int nInt;
nInt=GetLocalInt(oPC, "NW_JOURNAL_ENTRYUrikTemplars");
if (!(nInt == 2))
return FALSE;
if (GetItemPossessedBy(oPC, "sokidocument") == OBJECT_INVALID) return FALSE;
return TRUE;
}