Tweaked items, creatures, and areas
Added 2 new quests to Displaced Valley connected areas.
This commit is contained in:
27
_module/nss/deronsafe.nss
Normal file
27
_module/nss/deronsafe.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName deronsafe
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_tool"
|
||||
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some XP
|
||||
RewardPartyXP(1000, GetPCSpeaker());
|
||||
|
||||
// Give the speaker the items
|
||||
CreateItemOnObject("edricskey", GetPCSpeaker(), 1);
|
||||
|
||||
|
||||
// Remove items from the player's inventory
|
||||
object oItemToTake;
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "L_sot");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
// Set the variables
|
||||
SetLocalInt(GetPCSpeaker(), "deronsafe", 1);
|
||||
|
||||
}
|
Reference in New Issue
Block a user