HiddenTradition_PRC8/_module/nss/at_pjohnquest3.nss

31 lines
518 B
Plaintext
Raw Permalink Normal View History

#include "nw_i0_tool"
#include "nw_j_assassin"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.2
For download info, please visit:
http://www.angelfire.com/space/lilacsoul */
//Put this OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
int nInt;
nInt=GetLocalInt(oPC, "PresterJohnQuest");
if (!(nInt == 1))
return;
AddJournalQuestEntry("jt_PresterJohn", 2, oPC, TRUE, FALSE);
RewardPartyXP(100, oPC, TRUE);
aSetPLocalInt(oPC, "PresterJohnQuest", 3);
}