Initial commit. Updated release archive.
This commit is contained in:
30
_module/nss/at_pjohnquest3.nss
Normal file
30
_module/nss/at_pjohnquest3.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
#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);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user