30 lines
519 B
Plaintext
30 lines
519 B
Plaintext
#include "nw_i0_tool"
|
|
/* 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 OnOpen
|
|
|
|
|
|
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastOpenedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "it_camp_key")== OBJECT_INVALID)
|
|
return;
|
|
|
|
RewardPartyXP(50, oPC, TRUE);
|
|
|
|
AddJournalQuestEntry("jt_gettingaway", 2, oPC, TRUE, FALSE);
|
|
|
|
DelayCommand(180.0, ActionCloseDoor(OBJECT_SELF));
|
|
SetLocked(OBJECT_SELF, 1);
|
|
|
|
}
|