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